File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ void setup()
12
12
13
13
void loop ()
14
14
{
15
- serialPrintLn (" Rot " );
15
+ serialPrintLn (" red " );
16
16
neopixelWrite (PIN_NEOPIXEL, 255 , 0 , 0 );
17
17
delay (1000 );
18
18
19
- // serialPrintLn("Grün ");
19
+ serialPrintLn (" green " );
20
20
neopixelWrite (PIN_NEOPIXEL, 0 , 255 , 0 );
21
21
delay (1000 );
22
22
23
- // serialPrintLn("Blau ");
23
+ serialPrintLn (" blue " );
24
24
neopixelWrite (PIN_NEOPIXEL, 0 , 0 , 255 );
25
25
delay (1000 );
26
26
}
Original file line number Diff line number Diff line change 1
1
#include < Arduino.h>
2
+ #include < DebugUtils.h>
2
3
3
4
// pinouts: https://github.com/espressif/arduino-esp32/blob/master/variants/esp32c6/pins_arduino.h
4
5
5
6
// see https://github.com/wuxx/nanoESP32-C6
6
7
7
8
void setup ()
8
9
{
9
- Serial.begin (115200 );
10
- while (!Serial)
11
- ;
10
+ serialBegin (115200 );
12
11
}
13
12
14
13
void loop ()
@@ -17,6 +16,7 @@ void loop()
17
16
analogSetAttenuation (ADC_0db);
18
17
19
18
// // blink
19
+ // serialPrintLn("green");
20
20
// neopixelWrite(PIN_NEOPIXEL, 0, 255, 0);
21
21
// delay(1000);
22
22
}
You can’t perform that action at this time.
0 commit comments