SPKDisplay - A mbed display class and processing imaging tools for 128x64 OLEDs using the SSD1305 driver, connected via SPI.
Dependents: SPK-DVIMXR SPK-DMXer
Diff: spk_oled_ssd1305.h
- Revision:
- 4:a675a19c16f0
- Parent:
- 3:ade83210ecf6
--- a/spk_oled_ssd1305.h Thu Aug 02 13:26:18 2012 +0000 +++ b/spk_oled_ssd1305.h Sun Oct 28 19:53:49 2012 +0000 @@ -115,6 +115,15 @@ */ void textToBuffer(std::string message, int row); + /** Write a single character in the object's display representation + * Requires the font to have been set + * + * @param character The character to write. + * @param x The x position to draw the character + * @param row The row in which to write the character + */ + void characterToBuffer(char character, int x, int row); + /** Send the object's display representation to the OLED * * You can safely call this once per main loop, it will only transmit the buffer contents if there has been an update