Skip to content

Commit

Permalink
add metro esp32-s2 factory test
Browse files Browse the repository at this point in the history
  • Loading branch information
BlitzCityDIY committed Nov 20, 2024
1 parent e4369d2 commit dc90899
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
File renamed without changes.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// SPDX-FileCopyrightText: 2022 Limor Fried for Adafruit Industries
//
// SPDX-License-Identifier: MIT

#include <Arduino.h>
#include <Adafruit_NeoPixel.h>
#include "Adafruit_TestBed.h"

extern Adafruit_TestBed TB;

void setup() {
Serial.begin(115200);
// while (! Serial) delay(10);

delay(100);

TB.neopixelPin = PIN_NEOPIXEL;
TB.neopixelNum = 1;
TB.begin();
TB.setColor(WHITE);
}

uint8_t j = 0;

void loop() {

if (j % 10 == 0) {
TB.printI2CBusScan();
}
TB.setColor(TB.Wheel(j++));
delay(100);
return;
}

0 comments on commit dc90899

Please sign in to comment.