Skip to content

Commit e049c2c

Browse files
committed
multiply no longer needed
1 parent e5f3cbf commit e049c2c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

FunHouse_Arduino_Demos/selftest/selftest.ino

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ uint8_t LED_dutycycle = 0;
1919
uint16_t firstPixelHue = 0;
2020

2121
void setup() {
22+
//while (!Serial);
2223
Serial.begin(115200);
2324
delay(100);
2425

@@ -73,10 +74,10 @@ void setup() {
7374
pinMode(LED_BUILTIN, OUTPUT);
7475
pinMode(SPEAKER, OUTPUT);
7576

76-
ledcSetup(0, 2000 * 80, 8);
77+
ledcSetup(0, 2000, 8);
7778
ledcAttachPin(LED_BUILTIN, 0);
7879

79-
ledcSetup(1, 2000 * 80, 8);
80+
ledcSetup(1, 2000, 8);
8081
ledcAttachPin(SPEAKER, 1);
8182
ledcWrite(1, 0);
8283
}

0 commit comments

Comments
 (0)