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 7c96387 commit f384e2dCopy full SHA for f384e2d
sh1106/sh1106.go
@@ -285,7 +285,6 @@ func (d *Device) Tx(data []byte, isCommand bool) {
285
func (b *I2CBus) tx(data []byte, isCommand bool) {
286
if isCommand {
287
legacy.WriteRegister(b.wire, uint8(b.Address), 0x00, data)
288
- b.wire.WriteRegister(uint8(b.Address), 0x00, data)
289
} else {
290
legacy.WriteRegister(b.wire, uint8(b.Address), 0x40, data)
291
}
0 commit comments