Hi,
In looking to invert my display to black on white I have tried a few times with no joy, any tips or examples how to do this
Hi,
In looking to invert my display to black on white I have tried a few times with no joy, any tips or examples how to do this
Not sure whether you are looking for these tips, but this might help you.
Here are the functions in the library. I think you need to do some research into what those commands actually mean.
//** \brief Vertical flip.
Flip the graphics on the OLED vertically.
*/
void SSD1320::flipVertical(boolean flip)
{
if (flip)
{
command(COMSCANINC);
}
else
{
command(COMSCANDEC);
}
}
/** \brief Horizontal flip.
Flip the graphics on the OLED horizontally.
*/
void SSD1320::flipHorizontal(boolean flip)
{
if (flip)
{
command(SETSEGREMAP | 0x01); //Set the bit
}
else
{
command(SETSEGREMAP & ~0x01); //Clear the bit
}
}