forked from ewowi/StarBase
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Live Fixtures for giant panels up to 16348 leds
add STARLIGHT_MAXLEDS in pio.ini (default is 8196) rover and s3 have max 16348 leds
- Loading branch information
Showing
7 changed files
with
81 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
//F_panel128-64.sc | ||
|
||
void main() | ||
{ | ||
addPixelsPre(128,128,1,16384, 1, 3, 0); | ||
|
||
for (int panely = 0; panely < 8; panely++) { | ||
for (int panelx = 7; panelx >=0; panelx--) { | ||
for (int x=0; x<16;x++) { | ||
for (int y=0; y<16; y++) { | ||
int y2; y2 = y; if (x%2 == 0) {y2=15-y;} //serpentine | ||
int panelx2; panelx2 = panelx + 1; if (panelx2==8) {panelx2 = 0;} //ewowi panel correction | ||
addPixel(panelx2*16+x,panely*16+y2,0); | ||
} | ||
} | ||
} | ||
} | ||
|
||
addPixelsPost(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
//F_panel128-64.sc | ||
|
||
void main() | ||
{ | ||
addPixelsPre(128,96,1,12288, 1, 3, 0); | ||
|
||
for (int panely = 0; panely < 6; panely++) { | ||
for (int panelx = 7; panelx >=0; panelx--) { | ||
for (int x=0; x<16;x++) { | ||
for (int y=0; y<16; y++) { | ||
int y2; y2 = y; if (x%2 == 0) {y2=15-y;} //serpentine | ||
int panelx2; panelx2 = panelx + 1; if (panelx2==8) {panelx2 = 0;} //ewowi panel correction | ||
addPixel(panelx2*16+x,panely*16+y2,0); | ||
} | ||
} | ||
} | ||
} | ||
|
||
addPixelsPost(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
//F_panel128-64.sc | ||
|
||
void main() | ||
{ | ||
addPixelsPre(80, 48, 1, 3840, 1, 3, 0); | ||
|
||
for (int panely = 0; panely < 3; panely++) { | ||
for (int panelx = 4; panelx >=0; panelx--) { | ||
for (int x=0; x<16;x++) { | ||
for (int y=0; y<16; y++) { | ||
int y2; y2 = y; if (x%2 == 0) {y2=15-y;} //serpentine | ||
//int panelx2; panelx2 = panelx + 1; if (panelx2==8) {panelx2 = 0;} //ewowi panel correction | ||
addPixel(panelx*16+x,panely*16+y2,0); | ||
} | ||
} | ||
} | ||
} | ||
|
||
addPixelsPost(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -184,18 +184,15 @@ build_flags = | |
${env.build_flags} | ||
-D CONFIG_IDF_TARGET_ESP32=1 | ||
-D ARDUINO_USB_CDC_ON_BOOT=0 ; Make sure that the right HardwareSerial driver is picked in arduino-esp32 (needed on "classic ESP32") | ||
; ${STARLIGHT_CLOCKLESS_LED_DRIVER.build_flags} ; temporary here, until there is one driver for s3 and non s3 | ||
; ${STARLIGHT_CLOCKLESS_VIRTUAL_LED_DRIVER.build_flags} ; temporary here, until there is one driver for s3 and non s3 | ||
lib_deps = | ||
${env.lib_deps} | ||
; ${STARLIGHT_CLOCKLESS_LED_DRIVER.lib_deps} ; temporary here, until there is one driver for s3 and non s3 | ||
; ${STARLIGHT_CLOCKLESS_VIRTUAL_LED_DRIVER.lib_deps} ; temporary here, until there is one driver for s3 and non s3 | ||
|
||
[env:esp32_wrover] | ||
board = upesy_wrover ; esp-wrover-kit ;https://github.com/platformio/platform-espressif32/blob/develop/boards/upesy_wrover.json | ||
|
||
[env:esp32devICVLD] | ||
board = esp32dev ;https://github.com/platformio/platform-espressif32/blob/develop/boards/esp32dev.json | ||
; recommended to pin to a platform version, see https://github.com/platformio/platform-espressif32/releases | ||
platform = [email protected] ;using platformio/framework-arduinoespressif32 @ ~3.20014.0 / framework-arduinoespressif32 @ 3.20014.231204 (2.0.14) | ||
; upload_speed = 1500000 | ||
upload_speed = 1500000 | ||
build_flags = | ||
${env.build_flags} | ||
-D CONFIG_IDF_TARGET_ESP32=1 | ||
|
@@ -208,17 +205,17 @@ lib_deps = | |
${STARLIGHT_CLOCKLESS_VIRTUAL_LED_DRIVER.lib_deps} ; temporary here, until there is one driver for s3 and non s3 | ||
|
||
|
||
|
||
[env:esp32devICVLD] | ||
board = esp32dev ;https://github.com/platformio/platform-espressif32/blob/develop/boards/esp32dev.json | ||
[env:esp32_wrover] | ||
board = upesy_wrover ; esp-wrover-kit ;https://github.com/platformio/platform-espressif32/blob/develop/boards/upesy_wrover.json | ||
; recommended to pin to a platform version, see https://github.com/platformio/platform-espressif32/releases | ||
platform = [email protected] ;using platformio/framework-arduinoespressif32 @ ~3.20014.0 / framework-arduinoespressif32 @ 3.20014.231204 (2.0.14) | ||
upload_speed = 1500000 | ||
; upload_speed = 1500000 | ||
build_flags = | ||
${env.build_flags} | ||
-D CONFIG_IDF_TARGET_ESP32=1 | ||
-D ARDUINO_USB_CDC_ON_BOOT=0 ; Make sure that the right HardwareSerial driver is picked in arduino-esp32 (needed on "classic ESP32") | ||
; ${STARLIGHT_CLOCKLESS_LED_DRIVER.build_flags} ; temporary here, until there is one driver for s3 and non s3 | ||
-D STARLIGHT_MAXLEDS=16384 | ||
${STARLIGHT_CLOCKLESS_VIRTUAL_LED_DRIVER.build_flags} ; temporary here, until there is one driver for s3 and non s3 | ||
lib_deps = | ||
${env.lib_deps} | ||
|
@@ -343,6 +340,7 @@ build_flags = | |
${env.build_flags} | ||
-D CONFIG_IDF_TARGET_ESP32S3=1 | ||
-D STARBASE_LOLIN_WIFI_FIX ; shouldn't be necessary, but otherwise WiFi issues on my board | ||
-D STARLIGHT_MAXLEDS=12288 | ||
lib_deps = | ||
${env.lib_deps} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters