Firmware for the bonkgotchi
- C++ 63.7%
- C 36.1%
- CMake 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Adafruit_SharpMem was being constructed with its 3-pin software-SPI constructor, so all display traffic was bit-banged via digitalWrite()/delayMicroseconds() even though LCD_SCK/LCD_SI/LCD_SCS (GPIO10/11/12) are the ESP32-S3's dedicated FSPI pins. Switch to the hardware-SPI constructor (Adafruit_SharpMem(&SPI, LCD_SCS, 128, 128)) so display refreshes go through the real SPI peripheral instead. Also fixes SPI.begin()'s MISO argument (0 -> -1): the display is write-only and never had a MISO connection, so 0 was wrong (a real pin number) even though it happened to be harmless in practice. No other changes needed: Adafruit_SPIDevice's hardware path reuses the already-pinned SPI.begin() call, and CS is toggled with plain digitalWrite() regardless of transport, so display.begin()/ clearDisplay()/drawBitmap()/refresh() are all unaffected. |
||
| docs | ||
| include | ||
| lib | ||
| src | ||
| test | ||
| .gitignore | ||
| CMakeLists.txt | ||
| platformio.ini | ||
| README.md | ||
| sdkconfig.esp32s3usbotg | ||
Bonkgotchi Firmware
C++ code for the bonkgotchi project
PlatformIO project
Arduino (pioarduino)
Target module: ESP32-S3-WROOM-1-N8
Harvatek RGB LED library in /lib/HarvatekLED