Skip to content

Commit

Permalink
pico: add config for display packs
Browse files Browse the repository at this point in the history
No audio, but they have an LED!
  • Loading branch information
Daft-Freak committed Feb 23, 2023
1 parent 88be18e commit 224ce74
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions 32blit-pico/board/display_pack/config.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
set(BLIT_BOARD_NAME "Display Pack")

set(BLIT_BOARD_DEFINITIONS
DISPLAY_HEIGHT=135

LED_INVERTED
LED_R_PIN=6
LED_G_PIN=7
LED_B_PIN=8
)

blit_driver(display st7789)
blit_driver(input gpio_abxy)
13 changes: 13 additions & 0 deletions 32blit-pico/board/display_pack_2/config.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
set(BLIT_BOARD_NAME "Display Pack 2.0")

set(BLIT_BOARD_DEFINITIONS
DISPLAY_WIDTH=320

LED_INVERTED
LED_R_PIN=6
LED_G_PIN=7
LED_B_PIN=8
)

blit_driver(display st7789)
blit_driver(input gpio_abxy)

0 comments on commit 224ce74

Please sign in to comment.