Skip to content

Commit

Permalink
Update images-and-animations.md
Browse files Browse the repository at this point in the history
  • Loading branch information
profezzorn authored Feb 24, 2025
1 parent 8e10ad8 commit 4c9b0fa
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions display/images-and-animations.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ From ProffieOS 7.x, these additional events are available:
* in
* pstoff

From ProffieOS 8.x, these additional events are available:
* lowbatt

Also, from Proffie 8.x, you can use the BlasterDisplayController to activate these extra events:
* blast
* reload
* empty
* jam
* clipin
* clipout
* destruct

In the future, there will probably be more things that will trigger loading OLED images or animations from the SD card, as well as additional size displays, including color, etc..
For this page's explanations, a typical monochrome 128x32 pixel OLED display is used as the example target.

Expand Down Expand Up @@ -137,3 +149,14 @@ There's also an option to flip it mirror image:
```cpp
#define OLED_MIRRORED
```

## Activating the BlasterDisplayController
In CONFIG_TOP use:
```cpp
#define INCLUDE_SSD1306
```
In CONFIG_BOTTOM use:
```cpp
BlasterDisplayController<128, uint32_t> display_controller;
SSD1306Template<128, uint32_t> display(&display_controller);
```

0 comments on commit 4c9b0fa

Please sign in to comment.