microbitmatrix: add support for brightness of led pixels

Inspired by brightness levels in micro:bit MicroPython
This commit is contained in:
Lucas Bremgartner
2022-10-10 23:56:49 +02:00
committed by Ron Evans
parent 8a39bb7aae
commit 89770a7d05
3 changed files with 93 additions and 15 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ const (
type Device struct {
pin [ledCols + ledRows]machine.Pin
buffer [ledRows][ledCols]bool
buffer [ledRows][ledCols]int8
rotation uint8
}