Datasheet
14
unidimensional array holding bitmap. The bitmap data is available in continuous rows of columns
as like Horizontal Addressing mode.
bytes is size of bitmap in bytes.
Example:
SeeedGrayOled.drawBitmap(SeeedLogo,96*96/8); // Draw binary Bitmap (96 pixels
*96 pixels / 8) bytes
13. setHorizontalScrollProperties(bool direction,unsigned char startRow, unsigned char
endRow,unsigned char startColumn, unsigned char endColumn, unsigned char scrollSpeed)
Set the properties of horizontal scroll.
Direction can be any of Scroll_Left and Scroll_Right.
startRow can be 0 - 127
endRow can be 0 - 127. It should be greater than startRow
startColumn can be 0 - 63
endColumn can be 0 - 63. It should be greater than startRow
scrollSpeed can be any of
defines:Scroll_2Frames,Scroll_3Frames,Scroll_4Frames,Scroll_5Frames,Scroll_25Frames,Scroll_
64Frames,Scroll_128Frames,Scroll_256Frames.
Example:
SeeedGrayOled.setHorizontalScrollProperties(Scroll_Left,72,95,0,47,Scroll_5Frames);
//Set the properties of Horizontal Scroll
14. activateScroll()
Enable scrolling. This should be used only after setting horizontal scroll properties.
Example:
SeeedGrayOled.activateScroll(); //Enable scrolling.
15. deactivateScroll()
Disable scrolling. This should be used after activateScroll();
Example:
SeeedGrayOled.activateScroll(); //Disable scrolling.