Skip to content

Commit 33b0f58

Browse files
authored
Merge pull request #2101 from ladyada/main
fix factory test naming to standard neopixel pin name
2 parents af97950 + 2c564eb commit 33b0f58

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Adafruit_ESP32_Arduino_Demos/ESP32_sleeptest/ESP32_sleeptest.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ void loop() {
3131
delay(1000);
3232

3333
disableInternalPower();
34+
LEDoff();
3435
esp_sleep_enable_timer_wakeup(1000000); // 1 sec
3536
esp_light_sleep_start();
3637
// we'll wake from light sleep here

Factory_Tests/Feather_ESP32_V2_FactoryTest/Feather_ESP32_V2_FactoryTest.ino

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ void setup() {
2121
TB.neopixelPin = NEOPIXEL_PIN;
2222
TB.neopixelNum = 1;
2323
TB.begin();
24+
TB.setColor(0xFF0000);
25+
delay(50);
26+
TB.setColor(0x00FF00);
27+
delay(50);
28+
TB.setColor(0x0000FF);
2429

2530
// Set WiFi to station mode and disconnect from an AP if it was previously connected
2631
WiFi.mode(WIFI_STA);

Factory_Tests/QTPy_ESP32C3_FactoryTest/QTPy_ESP32C3_FactoryTest.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
#include <WiFi.h>
99
extern Adafruit_TestBed TB;
1010

11-
#define NEOPIXEL_PIN 2
11+
#define PIN_NEOPIXEL 2
1212

1313
void setup() {
1414
Serial.begin(115200);
1515
//while (! Serial) delay(10);
1616

1717
Serial.println("QT Py ESP32 C3!");
1818

19-
TB.neopixelPin = NEOPIXEL_PIN;
19+
TB.neopixelPin = PIN_NEOPIXEL;
2020
TB.neopixelNum = 1;
2121
TB.begin();
2222
TB.setColor(0xFF0000);

0 commit comments

Comments
 (0)