Skip to content

Commit 8fcd9c0

Browse files
committed
factory test for C6 feather
1 parent cc19eef commit 8fcd9c0

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// SPDX-FileCopyrightText: 2024 ladyada for Adafruit Industries
2+
//
3+
// SPDX-License-Identifier: MIT
4+
5+
#include <Adafruit_NeoPixel.h>
6+
#include "Adafruit_TestBed.h"
7+
extern Adafruit_TestBed TB;
8+
9+
Adafruit_NeoPixel pixel(1, PIN_NEOPIXEL, NEO_GRB + NEO_KHZ800);
10+
11+
void setup() {
12+
//while (! Serial) delay(10);
13+
Serial.begin(115200);
14+
TB.neopixelPin = PIN_NEOPIXEL;
15+
TB.neopixelNum = 1;
16+
TB.begin();
17+
TB.setColor(WHITE);
18+
}
19+
20+
uint8_t j = 0;
21+
22+
void loop() {
23+
24+
TB.setColor(TB.Wheel(j++));
25+
delay(10);
26+
if (j == 0) {
27+
TB.printI2CBusScan();
28+
}
29+
30+
}

0 commit comments

Comments
 (0)