-
Notifications
You must be signed in to change notification settings - Fork 771
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e4369d2
commit dc90899
Showing
3 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
Empty file.
33 changes: 33 additions & 0 deletions
33
Factory_Tests/Metro_ESP32S2_FactoryTest/Metro_ESP32S2_FactoryTest.ino
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |