change to teensy3.2
This commit is contained in:
parent
ded8839f4a
commit
b5886f0919
|
@ -13,5 +13,20 @@ platform = espressif8266
|
||||||
board = d1_mini
|
board = d1_mini
|
||||||
framework = arduino
|
framework = arduino
|
||||||
|
|
||||||
|
build_flags =
|
||||||
|
-D PIN_DATA=D5
|
||||||
|
|
||||||
lib_deps =
|
lib_deps =
|
||||||
fastled/FastLED
|
fastled/FastLED
|
||||||
|
|
||||||
|
[env:teensy31]
|
||||||
|
platform = teensy
|
||||||
|
board = teensy31
|
||||||
|
framework = arduino
|
||||||
|
build_flags =
|
||||||
|
-D USB_SERIAL_HID
|
||||||
|
-D PIN_DATA=0
|
||||||
|
|
||||||
|
lib_deps =
|
||||||
|
fastled/FastLED
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,8 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
//Upload for teensy4.1 with: pio run --environment teensy41 -t upload
|
||||||
|
|
||||||
#define SK6812RGBW //power consumption is around 51mA per LED at RGBW 100%
|
#define SK6812RGBW //power consumption is around 51mA per LED at RGBW 100%
|
||||||
/*
|
/*
|
||||||
R=1234mA (with 112 LEDS 100%)
|
R=1234mA (with 112 LEDS 100%)
|
||||||
|
@ -46,13 +48,14 @@ const uint8_t
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define PIN_DATA D5 // led data output pin2
|
//#define PIN_DATA D5 // led data output pin2
|
||||||
|
|
||||||
// #define PIN_CLOCK 7 // led data clock pin (uncomment if you're using a 4-wire LED type)
|
// #define PIN_CLOCK 7 // led data clock pin (uncomment if you're using a 4-wire LED type)
|
||||||
|
|
||||||
// --- Serial Settings
|
// --- Serial Settings
|
||||||
const unsigned long
|
const unsigned long
|
||||||
//SerialSpeed = 115200; // serial port speed
|
//SerialSpeed = 115200; // serial port speed
|
||||||
SerialSpeed = 500000; // serial port speed
|
SerialSpeed = 256000; // serial port speed
|
||||||
const uint16_t
|
const uint16_t
|
||||||
SerialTimeout = 60*10; // time before LEDs are shut off if no data (in seconds), 0 to disable
|
SerialTimeout = 60*10; // time before LEDs are shut off if no data (in seconds), 0 to disable
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue