-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update LCD library to use LCD CS and PWM instead of GPIO
In the latest 1.0 hardware, the LCD has been changed to use a chip select (for its CS, DC and RST pins) and to use a PWM for its backlight. This commit updates the LCD library/driver to appropriately make use of the SPI driver intsead of the GPIO as it was using before, and to use the PWM for the LCD's backlight. The PWM is always set to 100, and for now the driver simply replaces existing functionality - there is no way to modify the PWM from the driver.
- Loading branch information
1 parent
e671d39
commit 755ccac
Showing
2 changed files
with
26 additions
and
33 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