27 lines
619 B
Markdown
27 lines
619 B
Markdown
# Carrot Game
|
|
|
|
Famous Carrot in [Pepper&Carrot webcomics](https://peppercarrot.com) is very hungry.
|
|
|
|
In this game he has to eat as fishes as possible.
|
|
|
|
Each eaten fish brings 10 points but same for those missed.
|
|
|
|
You can miss 5 fishes but you lose if you have no point left.
|
|
|
|
## Hardware
|
|
|
|
- Arduino Uno R3
|
|
- LCD 128x64 with DFRobot SPI module
|
|
- WiiChuck PCB to connect a Wii chuck
|
|
- Speaker
|
|
|
|
## Pin connection
|
|
|
|
- A2, A3, A4 and A5: WiiChuck
|
|
- D2 (CLK), D10 (DATA), D7 (CS): LCD SPI
|
|
- D8 Speaker +
|
|
|
|
## Libraries
|
|
|
|
- [U8g2](https://github.com/olikraus/u8g2/wiki) to manage LCD graphics
|
|
- ArdunoNunchuck by Gabriel Bianconi |