Firmware for the bonkgotchi
  • C++ 63.7%
  • C 36.1%
  • CMake 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
nak 700e804f6d Use hardware SPI for the Sharp LCD display
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.
2026-08-05 03:52:20 -07:00
docs Update docs 2025-11-06 02:01:11 -07:00
include first commit 2025-08-20 11:50:06 -07:00
lib Disable interrupts while bitbanging to LED 2025-08-24 21:49:54 -07:00
src Use hardware SPI for the Sharp LCD display 2026-08-05 03:52:20 -07:00
test first commit 2025-08-20 11:50:06 -07:00
.gitignore add MenuSystem (buggy) 2025-08-24 02:26:01 -07:00
CMakeLists.txt first commit 2025-08-20 11:50:06 -07:00
platformio.ini first commit 2025-08-20 11:50:06 -07:00
README.md Update docs 2025-11-06 02:01:11 -07:00
sdkconfig.esp32s3usbotg first commit 2025-08-20 11:50:06 -07:00

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

Docs