diff options
Diffstat (limited to 'drivers/oled/oled_driver.h')
| -rw-r--r-- | drivers/oled/oled_driver.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/oled/oled_driver.h b/drivers/oled/oled_driver.h index 3e5a5bcab..af6e5a2b6 100644 --- a/drivers/oled/oled_driver.h +++ b/drivers/oled/oled_driver.h | |||
| @@ -206,6 +206,10 @@ void oled_pan(bool left); | |||
| 206 | void oled_write_raw(const char *data, uint16_t size); | 206 | void oled_write_raw(const char *data, uint16_t size); |
| 207 | void oled_write_raw_byte(const char data, uint16_t index); | 207 | void oled_write_raw_byte(const char data, uint16_t index); |
| 208 | 208 | ||
| 209 | // Sets a specific pixel on or off | ||
| 210 | // Coordinates start at top-left and go right and down for positive x and y | ||
| 211 | void oled_write_pixel(uint8_t x, uint8_t y, bool on); | ||
| 212 | |||
| 209 | #if defined(__AVR__) | 213 | #if defined(__AVR__) |
| 210 | // Writes a PROGMEM string to the buffer at current cursor position | 214 | // Writes a PROGMEM string to the buffer at current cursor position |
| 211 | // Advances the cursor while writing, inverts the pixels if true | 215 | // Advances the cursor while writing, inverts the pixels if true |
