Dinosaur Game written in Rust for the Raspberry Pi Pico 2 (RP2350) with an OLED display, using the Embassy framework. You can also find the ESP32 version of this code here.
- Raspberry Pi Pico 2 (RP2350)
- SSD1306 OLED I2C 128x64 Display
- Push button (with a cap)
- Jumper wires and breadboard
Pico Pin | Component |
---|---|
GPIO 18 | SDA pin of OLED |
GPIO 19 | SCL pin of OLED |
3.3V | VCC pin of OLED |
GND | GND pin of OLED |
GPIO 15 | One side of push button |
GND | Other side of push button |
The video doesn't fully capture the visual quality. I'm not great at recording videos, but here's a preview of the game.
pico-rex.mp4
- Implement running illusion for the T-Rex
- Display start menu
- Smooth gaming experience!