SSD1308 128x64 OLED Driver with I2C interface
Dependents: sense xadow_m0_ada_gps xadow_m0_SD_Hello sense-DHT11 ... more
See http://mbed.org/users/wim/notebook/oled-display-with-ssd1308-driver/#c6729
Diff: SSD1308.h
- Revision:
- 4:df92b0c0cb92
- Parent:
- 3:fa18169dd7e6
- Child:
- 5:e564cde8e03e
--- a/SSD1308.h Mon Jul 23 20:24:11 2012 +0000 +++ b/SSD1308.h Thu Jan 01 17:53:40 2015 +0000 @@ -12,11 +12,14 @@ // Changelog: // 2011-08-25 - Initial release by Andrew Schamp <schamp@gmail.com> // 2012-06-19 - Ported to mbed and optimised (WH) +// 2013-07-12 - Minor comment fix and placeholder for SSD1306 (WH) +// 2015-01-01 - Switch for optimised I2C calls to test on F401 (WH) // -/* ============================================ +/* +================================================================================ I2Cdev device library code is placed under the MIT license Copyright (c) 2011 Andrew Schamp -Copyright (c) 2012 WH (mbed port) +Copyright (c) 2012,2013 WH (mbed port) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -35,7 +38,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -=============================================== +================================================================================ */ #ifndef SSD1308_H @@ -236,6 +239,10 @@ /** @brief fill the display * @param uint8_t pattern fillpattern vertical patch or 8 bits + * @param uint8_t start_page begin page (0..MAX_PAGE) + * @param uint8_t end_page end page (start_page..MAX_PAGE) + * @param uint8_t start_col begin column (0..MAX_COL) + * @param uint8_t end_col end column (start_col..MAX_COL) */ void fillDisplay(uint8_t pattern = 0x00, uint8_t start_page=0, uint8_t end_page=MAX_PAGE, @@ -290,10 +297,8 @@ * @brief Start at selected cursor location, text will wrap around until it is done * @param uint8_t row row number (0...ROWS/FONT_HEIGHT) * @param uint8_t col column number (0...COLUMNS/FONT_WIDTH) - * @param uint16_t len number of chars in text * @param const char * text pointer to text */ -// void writeString(uint8_t row, uint8_t col, uint16_t len, const char* txt); void writeString(uint8_t row, uint8_t col, const char* txt); // Stream implementation - provides printf() interface