-
Notifications
You must be signed in to change notification settings - Fork 964
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add support for loading yaml from a config directory * Add waveshare hats to the new config.d approach * Move to available.d for module inactive module configs
- Loading branch information
1 parent
ea9b5c4
commit 355a071
Showing
8 changed files
with
183 additions
and
133 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
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
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,18 @@ | ||
Display: | ||
|
||
### Waveshare 2.8inch RPi LCD | ||
Panel: ST7789 | ||
CS: 8 | ||
DC: 22 # Data/Command pin | ||
Backlight: 18 | ||
Width: 240 | ||
Height: 320 | ||
Reset: 27 | ||
Rotate: true | ||
Invert: true | ||
|
||
Touchscreen: | ||
### Note, at least for now, the touchscreen must have a CS pin defined, even if you let Linux manage the CS switching. | ||
Module: XPT2046 # Waveshare 2.8inch | ||
CS: 7 | ||
IRQ: 17 |
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,8 @@ | ||
Lora: | ||
Module: sx1262 # Waveshare SX126X XXXM | ||
DIO2_AS_RF_SWITCH: true | ||
CS: 21 | ||
IRQ: 16 | ||
Busy: 20 | ||
Reset: 18 | ||
SX126X_ANT_SW: 6 |
Oops, something went wrong.