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 523daba commit 70a085fCopy full SHA for 70a085f
ssd1306/ssd1306_spi.go
@@ -62,7 +62,7 @@ func (b *SPIBus) flush() error {
62
// tx sends data to the display
63
func (b *SPIBus) tx(data []byte, isCommand bool) error {
64
b.csPin.High()
65
- b.dcPin.Set(!isCommand)
+ b.dcPin(!isCommand)
66
b.csPin.Low()
67
err := b.wire.Tx(data, nil)
68
0 commit comments