We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5f3cbf commit e049c2cCopy full SHA for e049c2c
FunHouse_Arduino_Demos/selftest/selftest.ino
@@ -19,6 +19,7 @@ uint8_t LED_dutycycle = 0;
19
uint16_t firstPixelHue = 0;
20
21
void setup() {
22
+ //while (!Serial);
23
Serial.begin(115200);
24
delay(100);
25
@@ -73,10 +74,10 @@ void setup() {
73
74
pinMode(LED_BUILTIN, OUTPUT);
75
pinMode(SPEAKER, OUTPUT);
76
- ledcSetup(0, 2000 * 80, 8);
77
+ ledcSetup(0, 2000, 8);
78
ledcAttachPin(LED_BUILTIN, 0);
79
- ledcSetup(1, 2000 * 80, 8);
80
+ ledcSetup(1, 2000, 8);
81
ledcAttachPin(SPEAKER, 1);
82
ledcWrite(1, 0);
83
}
0 commit comments