-
Notifications
You must be signed in to change notification settings - Fork 0
Arduino library
It works just like any other library that supports Adafruit GFX. The library model is pretty much the same as https://github.com/adafruit/Adafruit_SSD1306 and uses the same methods to work with the display. So with slight changes the examples from this library will work as well for drawing shapes, text and such. This display is much smaller in resolution tho so you'll have to generate some tiny font or take advantage of this very useful set of tiny fonts: https://github.com/robjen/GFX_fonts
Unique methods:
updates leds only
updates dots only
sets animation, available values:
- FLIPPITY210_ANIM_SLIDE_RIGHT
- FLIPPITY210_ANIM_SLIDE_LEFT
- FLIPPITY210_ANIM_SLIDE_FROM_TOP
- FLIPPITY210_ANIM_SLIDE_FROM_BOTTOM
- FLIPPITY210_ANIM_DISSOLVE
- FLIPPITY210_ANIM_SLIDE_RIGHT_FORCED
- FLIPPITY210_ANIM_SLIDE_LEFT_FORCED
- FLIPPITY210_ANIM_SLIDE_FROM_TOP_FORCED
- FLIPPITY210_ANIM_SLIDE_FROM_BOTTOM_FORCED
Use "FORCED" animations to force change all dots instead of just the ones that need flipping. Results in slower update but consistent speed. Normal animations speed depends on number of dots to change.
- SPEED_HIGH
- SPEED_MED
- SPEED_LOW
- SPEED_VERY_LOW
- SPEED_EXTREMELY_LOW
- toggles leds power. This actually toggles the leds power source so if powered off, the leds won't work.
available values:
- 0x01 - low
- 0x02 - med
- 0x03 - high
available values:
- FLIPPITY210_WHITE
- FLIPPITY210_BLACK