Template Class Sh1106
Defined in File sh1106.hpp
Inheritance Relationships
Base Types
public modm::MonochromeGraphicDisplayVertical< Width, Height >
private modm::Resumable< 1 >
Class Documentation
-
template<typename SPI, typename A0, typename Reset, unsigned int Width, unsigned int Height, bool Flipped>
class Sh1106 : public modm::MonochromeGraphicDisplayVertical<Width, Height>, private modm::Resumable<1> Driver for SH1106 based OLED displays
Public Functions
-
inline virtual ~Sh1106()
-
void initializeBlocking()
-
virtual void update()
Requests that the display begin a re-paint from the in-memory buffer.
-
modm::ResumableResult<bool> updateNonblocking()
Update the display with the content of the RAM buffer.
Note
This function uses protothreads (http://dunkels.com/adam/pt/). Local variables do not necessarily behave correctly and this function should be edited with care.
-
void setInvert(bool invert)
Invert the display content.
-
inline virtual ~Sh1106()