increase buad rate
This commit is contained in:
parent
be3cd936d6
commit
a6c46788df
@ -11,8 +11,10 @@
|
|||||||
; All envs
|
; All envs
|
||||||
[env]
|
[env]
|
||||||
framework = arduino
|
framework = arduino
|
||||||
|
monitor_speed = 1000000
|
||||||
build_flags =
|
build_flags =
|
||||||
-D SERIAL_RX_BUFFER_SIZE=128
|
-D SERIAL_RX_BUFFER_SIZE=128
|
||||||
|
-D BAUD=1000000
|
||||||
|
|
||||||
; Specifically uno
|
; Specifically uno
|
||||||
[env:uno]
|
[env:uno]
|
||||||
|
@ -9,7 +9,7 @@ ws2812b<D,6> strip;
|
|||||||
grb pixels[NUM_LEDS] = {};
|
grb pixels[NUM_LEDS] = {};
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(BAUD); // baud is defined at build time
|
||||||
Serial.println("\nResetting!");
|
Serial.println("\nResetting!");
|
||||||
|
|
||||||
strip.clear(NUM_LEDS);
|
strip.clear(NUM_LEDS);
|
||||||
|
Loading…
Reference in New Issue
Block a user