Browse Source

Update image and oled code

Image with default firmware and oled on keyboard level
pull/23594/head
Simon 1 week ago
parent
commit
8ceda7c9b6
2 changed files with 5 additions and 3 deletions
  1. +4
    -2
      keyboards/rarepotato8de/3x3macropad/3x3macropad.c
  2. +1
    -1
      keyboards/rarepotato8de/3x3macropad/readme.md

+ 4
- 2
keyboards/rarepotato8de/3x3macropad/3x3macropad.c View File

@ -96,12 +96,14 @@ static void render_bongo2(void) {
/* This code switches the shown image on the oled on every 350th call of this function */
bool showBongo1 = true;
int calls = 0;
bool oled_task_user(void) {
bool oled_task_kb(void) {
if (!oled_task_user()) {
return false;
}
if(calls++ > 350) {
showBongo1 = !showBongo1;
calls = 0;
}
if(showBongo1) {
render_bongo1();
} else {


+ 1
- 1
keyboards/rarepotato8de/3x3macropad/readme.md View File

@ -1,6 +1,6 @@
# 3x3macropad
![3x3macropad](https://i.imgur.com/OTb3CUq.png)
![3x3macropad](https://i.imgur.com/LMkcKOw.jpg)
The 3x3macropad is a small macropad with a cool OLED screen and rotary encoder.
It was inspired by stacked FR4 keyboards like the Discipline65.


Loading…
Cancel
Save