mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-14 20:03:40 +00:00
microbitmatrix: add link to schema for microbit V2
This commit is contained in:
committed by
Ron Evans
parent
42dc6eb068
commit
b2fdd3c333
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
// Package microbitmatrix implements a driver for the BBC micro:bit version 2 LED matrix.
|
// Package microbitmatrix implements a driver for the BBC micro:bit version 2 LED matrix.
|
||||||
//
|
//
|
||||||
// Schematic:
|
// Schematic: https://github.com/microbit-foundation/microbit-v2-hardware/blob/main/V2.00/MicroBit_V2.0.0_S_schematic.PDF
|
||||||
package microbitmatrix // import "tinygo.org/x/drivers/microbitmatrix"
|
package microbitmatrix // import "tinygo.org/x/drivers/microbitmatrix"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@@ -84,7 +84,6 @@ func (d *Device) Display() error {
|
|||||||
} else {
|
} else {
|
||||||
d.pin[5+y].Low()
|
d.pin[5+y].Low()
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
time.Sleep(time.Millisecond * 4)
|
time.Sleep(time.Millisecond * 4)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user