mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-11 02:13:42 +00:00
Add a SetIntensity() function to max7xx driver and example.
Also remove redundant byte() casts from SetScanLimit()
This commit is contained in:
@@ -29,6 +29,7 @@ func main() {
|
||||
driver.StopDisplayTest()
|
||||
driver.SetDecodeMode(4)
|
||||
driver.SetScanLimit(4)
|
||||
driver.SetIntensity(8)
|
||||
driver.StopShutdownMode()
|
||||
|
||||
for i := 1; i < int(digitNumber); i++ {
|
||||
|
||||
Reference in New Issue
Block a user