We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa17041 commit d371232Copy full SHA for d371232
examples/ssd1289/main.go
@@ -5,6 +5,7 @@ import (
5
"machine"
6
"math/rand"
7
8
+ "tinygo.org/x/drivers/internal/pin"
9
"tinygo.org/x/drivers/ssd1289"
10
)
11
@@ -16,7 +17,7 @@ func main() {
16
17
//consider creating a more efficient bus implementation that uses
18
//your microcontrollers built in "ports"
19
//see rp2040bus.go for an example for the rapsberry pi pico
- bus := ssd1289.NewPinBus([16]machine.Pin{
20
+ bus := ssd1289.NewPinBus([16]pin.Output{
21
machine.GP4, //DB0
22
machine.GP5, //DB1
23
machine.GP6, //DB2
0 commit comments