File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ type Buser interface {
5151
5252type VccMode uint8
5353
54- // NewI2C creates a new SSD1306 connection. The I2C wire must already be configured.
54+ // NewI2C creates a new SH1106 connection. The I2C wire must already be configured.
5555func NewI2C (bus drivers.I2C ) Device {
5656 return Device {
5757 bus : & I2CBus {
@@ -61,7 +61,7 @@ func NewI2C(bus drivers.I2C) Device {
6161 }
6262}
6363
64- // NewSPI creates a new SSD1306 connection. The SPI wire must already be configured.
64+ // NewSPI creates a new SH1106 connection. The SPI wire must already be configured.
6565func NewSPI (bus drivers.SPI , dcPin , resetPin , csPin machine.Pin ) Device {
6666 dcPin .Configure (machine.PinConfig {Mode : machine .PinOutput })
6767 resetPin .Configure (machine.PinConfig {Mode : machine .PinOutput })
You can’t perform that action at this time.
0 commit comments