mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-16 12:53:23 +00:00
microbitmatrix: add support for brightness of led pixels
Inspired by brightness levels in micro:bit MicroPython
This commit is contained in:
committed by
Ron Evans
parent
8a39bb7aae
commit
89770a7d05
@@ -52,7 +52,7 @@ const (
|
||||
|
||||
type Device struct {
|
||||
pin [ledCols + ledRows]machine.Pin
|
||||
buffer [ledRows][ledCols]bool
|
||||
buffer [ledRows][ledCols]int8
|
||||
rotation uint8
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user