A small project that shows the number of currently active pastes on https://paste.myst.rs/ on my Arduino.
A small D program fetches the current paste count from the API and sends it to the Arduino via serial.
The Arduino then just displays that number on the screen.
I am using a knock-off Arduino UNO connected with an OPEN-SMART 3.2" TFT touchscreen display.
First you need a few libraries: Adafruit_GFX, MCUFRIEND_kbv and Adafruit_BusIO.
To get my specific display to work, you need to modify MCUFRIEND_kbv like so:
- Edit
utility/mcufriend_shield.h:#define USE_SPECIAL - Edit
utility/mcufriend_special.h:#define USE_OPENSMART_SHIELD_PINOUT_UNO - Edit
MCUFRIEND_kbv.cpp:#define SUPPORT_8352B
