Add a SetIntensity() function to max7xx driver and example.

Also remove redundant byte() casts from SetScanLimit()
This commit is contained in:
Neil Davis
2022-02-23 17:02:40 +00:00
committed by Ron Evans
parent 4a336f674c
commit 3d279d4d25
2 changed files with 11 additions and 1 deletions
+1
View File
@@ -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++ {