Skip to content

Commit 6635d5e

Browse files
committed
Fix setCursor
Changes setCursor to set by (0, y) in the most left position.
1 parent 111396f commit 6635d5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

digistump-avr/libraries/DigisparkOLED/DigisparkOLED.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ void SSD1306Device::setCursor(uint8_t x, uint8_t y)
120120
ssd1306_send_command_start();
121121
Wire.write(0xb0 + y);
122122
Wire.write(((x & 0xf0) >> 4) | 0x10); // | 0x10
123-
Wire.write((x & 0x0f) | 0x01); // | 0x01
123+
Wire.write(x & 0x0f);
124124
ssd1306_send_command_stop();
125125
oledX = x;
126126
oledY = y;

0 commit comments

Comments
 (0)