diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-02-10 21:27:49 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-02-10 21:27:49 +0100 |
commit | e4aec9f8ed543b2ccf562ba58a481c594ac7cd21 (patch) | |
tree | 6167fca77c18823552e83b8e4330a271e6b2f988 /include/driver | |
parent | 960f1be9c02cdaddceb2c943f3756ac4ca282cde (diff) |
ssd1306.h: Fix initialization for 32px high vertical addressing mode
Diffstat (limited to 'include/driver')
-rw-r--r-- | include/driver/ssd1306.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/driver/ssd1306.h b/include/driver/ssd1306.h index 5b17561..d5d3a58 100644 --- a/include/driver/ssd1306.h +++ b/include/driver/ssd1306.h @@ -163,7 +163,7 @@ class SSD1306 { SSD1306_SET_COL_ADDR, 0, 127, // reset page pointer - SSD1306_SET_PAGE_ADDR, 0, 7 + SSD1306_SET_PAGE_ADDR, 0, height/8-1 }; void writeCommand(uint8_t command); |