We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3df4f11 commit 561b64aCopy full SHA for 561b64a
1 file changed
Factory_Tests/KB2040_FactoryTest/KB2040_FactoryTest.ino
@@ -0,0 +1,23 @@
1
+#include "Adafruit_TestBed.h"
2
+
3
+extern Adafruit_TestBed TB;
4
5
+void setup() {
6
+ Serial.begin(115200);
7
+ //while (!Serial) { yield(); delay(10); } // wait till serial port is opened
8
+ delay(100); // RP2040 delay is not a bad idea
9
10
+ Serial.println("KB2040 self-tester!");
11
12
+ TB.neopixelPin = 17;
13
+ TB.neopixelNum = 1;
14
15
+ TB.begin();
16
+}
17
18
+uint8_t x = 0;
19
20
+void loop() {
21
+ TB.setColor(TB.Wheel(x++));
22
+ delay(10);
23
0 commit comments