summaryrefslogtreecommitdiffstats
path: root/watch-library/watch/watch_slcd.h
diff options
context:
space:
mode:
authorJoey Castillo <jose.castillo@gmail.com>2021-10-03 18:48:55 -0400
committerJoey Castillo <jose.castillo@gmail.com>2021-10-03 18:48:55 -0400
commit8d5280a34f1159d8af0277ba04b7e1cb9c8bd7ac (patch)
tree21e2c1a270ff3f659946f2a57a0f14fdb7eddf2f /watch-library/watch/watch_slcd.h
parent95ea714d61b058f2b25aea6c01021cb3b3b2c3be (diff)
downloadSensor-Watch-8d5280a34f1159d8af0277ba04b7e1cb9c8bd7ac.tar.gz
Sensor-Watch-8d5280a34f1159d8af0277ba04b7e1cb9c8bd7ac.tar.bz2
Sensor-Watch-8d5280a34f1159d8af0277ba04b7e1cb9c8bd7ac.zip
slcd: add function to blank entire screen
Diffstat (limited to 'watch-library/watch/watch_slcd.h')
-rw-r--r--watch-library/watch/watch_slcd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/watch-library/watch/watch_slcd.h b/watch-library/watch/watch_slcd.h
index 4f5a617c..5a54b72e 100644
--- a/watch-library/watch/watch_slcd.h
+++ b/watch-library/watch/watch_slcd.h
@@ -69,6 +69,10 @@ void watch_set_pixel(uint8_t com, uint8_t seg);
*/
void watch_clear_pixel(uint8_t com, uint8_t seg);
+/** @brief Clears all segments of the display, including incicators and the colon.
+ */
+void watch_clear_display();
+
/** @brief Displays a string at the given position, starting from the top left. There are ten digits.
A space in any position will clear that digit.
* @param string A null-terminated string.