/MegaGamesCompilationPicoAdafruit

Primary LanguageCGNU General Public License v3.0GPL-3.0

MegaGamesCompilationPicoAdafruit

Addapted MEGA games compilation from https://www.tinyjoypad.com/esp8285

Much better performance with Adafruit SSD1306 library for SPI-OLED

Components:

  1. RPI PICO RP2040
  2. SSD1309 128x64 SPI OLED DISPLAY
  3. piezzo buzzer
  4. 5 push-buttons
  5. breadboards
  6. multiple jumper calbles
  7. optional pull-down resistors (10 Ohm), can be just wire
  8. optional electrolytic condenser rated for at least 10V and 220uF

Libraries used for display:

Adafruit SSD1306 library: https://github.com/adafruit/Adafruit_SSD1306

Good performance with RPi Pico RP2040 and 2.42" SPI OLED SSD1309: ~100fps

Connections:

FOR OLED DISPLAY (SPI):

GND --> Display GND 3V3(OUT) -> Display VCC GP16 -> Display DC (Data Command) GP17 -> Display CS (Channel Select) GP18 -> Display SCL (Clock) GP19 -> Display SDA (MOSI) GP20 -> Display RES (Reset)

FOR BUTTONS:

GP15 -> button UP GP14 -> button DOWN GP13 -> button LEFT GP12 -> button RIGHT GP11 -> button FIRE (all buttons to GND)

FOR BUZZER:

GP22 -> Buzzer(+) GND -> Buzzer(-)