increase buad rate

This commit is contained in:
Oliver Atkinson 2023-09-05 08:44:41 -06:00
parent be3cd936d6
commit a6c46788df
2 changed files with 3 additions and 1 deletions

View File

@ -11,8 +11,10 @@
; All envs
[env]
framework = arduino
monitor_speed = 1000000
build_flags =
-D SERIAL_RX_BUFFER_SIZE=128
-D BAUD=1000000
; Specifically uno
[env:uno]

View File

@ -9,7 +9,7 @@ ws2812b<D,6> strip;
grb pixels[NUM_LEDS] = {};
void setup() {
Serial.begin(9600);
Serial.begin(BAUD); // baud is defined at build time
Serial.println("\nResetting!");
strip.clear(NUM_LEDS);