Skip to content

Conversation

@marcelstoer
Copy link
Member

@marcelstoer marcelstoer commented Jun 5, 2019

A clean version of the #243 branch.

Kudos to @helmut64 for the great contribution!

helmut64 added 13 commits June 4, 2019 21:31
Added I2C mbed uspport via SSD1306I2C.h
…h I2C,

more displays and SPI will follow later.

Added for mbed a very simple Arduino String emulation which allows to call
drawString using UTF8 chars.

Changed the Arduino byte into an uint8_t to be mbed compatible.

Support the mbed-os Stream class (Arduino uses Print)

mbed-os does not support C++11 initialisers in .h class files
therefore I initialise variables in the constructor.

Changed initialisers functions (fontTableLookupFunction, loadingDrawFunction)
to be separate functions to support the mbed-os compiler

To use the library for mbed-os copy the following files into
your mbed-os project:
OLEDDisplay.cpp	OLEDDisplayFonts.h OLEDDisplayUi.h OLEDDisplay.h
OLEDDisplayUi.cpp SSD1306I2C.h
PAGEADDR 0 resets the value, no ending page address is allowed
This overcomes the around warpping problem
…dots.

Added setGeometry high/width optional parameters to allow custom bitmaps.
@marcelstoer marcelstoer changed the title Clean version of Helmut64's Mbed OS support Clean version of Helmut64's Mbed OS support branch Jun 5, 2019
@marcelstoer marcelstoer mentioned this pull request Jun 5, 2019
@marcelstoer marcelstoer merged commit 8648131 into master Jun 5, 2019
@marcelstoer marcelstoer deleted the helmut64-mbed_os_support_clean branch June 5, 2019 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants