Test for STM32F4
Fork of RGB_OLED_SSD1331 by
Diff: include/SSD1331.h
- Revision:
- 13:8dd215952d76
- Parent:
- 11:162aa3e801df
- Child:
- 14:961ce3497de1
--- a/include/SSD1331.h Wed Nov 18 23:32:15 2015 +0000 +++ b/include/SSD1331.h Thu Dec 03 21:48:11 2015 +0000 @@ -157,7 +157,7 @@ PM_NormalMode = 0xAF }; -enum ScollingDirection{ +enum ScrollDirection{ SD_Horizontal = 0x00, SD_Vertical = 0x01, SD_Diagonal = 0x02 @@ -298,13 +298,13 @@ * @param rowNum Position x bottom right corner * @param interval Speed of the scrolling either 6, 10 100 or 200 frames */ - void setScolling(ScollingDirection direction, uint8_t rowAddr, uint8_t rowNum, ScrollInterval interval); + void setScrolling(ScrollDirection dir, uint8_t rowAddr, uint8_t rowNum, ScrollInterval interval); /** Enables or disables the scrolling * * @param enable Set true or flase for enabling or disabling the scrolling */ - void enableScolling(bool enable); + void enableScrolling(bool enable); /** Sets the display mode of the oled screen *