diff options
| author | Thomas Baart <thomas@splitkb.com> | 2019-11-03 23:34:47 +0100 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-11-03 14:34:47 -0800 |
| commit | be6562a22335b85e9904c0f7cc748943c9e809a7 (patch) | |
| tree | fc1036ab54253a0c2c66c8ca12a2f6490f0d5b8a /docs/feature_oled_driver.md | |
| parent | 732d1dd4f6f9ec060b4b8332309c82ebb6c3ca25 (diff) | |
| download | qmk_firmware-be6562a22335b85e9904c0f7cc748943c9e809a7.tar.gz qmk_firmware-be6562a22335b85e9904c0f7cc748943c9e809a7.zip | |
Adds raw write functions to the OLED driver (#7237)
* Added oled_write_raw and oled_write_raw_P functions to the OLED driver
* Added oled_write_raw method calls to feature_oled_driver.md
Diffstat (limited to 'docs/feature_oled_driver.md')
| -rw-r--r-- | docs/feature_oled_driver.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/feature_oled_driver.md b/docs/feature_oled_driver.md index 623f1816a..b124ba5a8 100644 --- a/docs/feature_oled_driver.md +++ b/docs/feature_oled_driver.md | |||
| @@ -229,6 +229,12 @@ void oled_write_P(const char *data, bool invert); | |||
| 229 | // Remapped to call 'void oled_write_ln(const char *data, bool invert);' on ARM | 229 | // Remapped to call 'void oled_write_ln(const char *data, bool invert);' on ARM |
| 230 | void oled_write_ln_P(const char *data, bool invert); | 230 | void oled_write_ln_P(const char *data, bool invert); |
| 231 | 231 | ||
| 232 | // Writes a string to the buffer at current cursor position | ||
| 233 | void oled_write_raw(const char *data, uint16_t size); | ||
| 234 | |||
| 235 | // Writes a PROGMEM string to the buffer at current cursor position | ||
| 236 | void oled_write_raw_P(const char *data, uint16_t size); | ||
| 237 | |||
| 232 | // Can be used to manually turn on the screen if it is off | 238 | // Can be used to manually turn on the screen if it is off |
| 233 | // Returns true if the screen was on or turns on | 239 | // Returns true if the screen was on or turns on |
| 234 | bool oled_on(void); | 240 | bool oled_on(void); |
