Ball in the Hole Game
Description
An Mbed game where the player must roll the ball into a randomly placed hole 10 times before the time runs out !
Hardware
- mbed LPC1768
- Speaker
- Audio Amplifier (Optional)
- SD Card Reader
- LSM9DS1
- uLCD-144-G2
- external 5V power supply
Schematic
LSM9DS1
mbed LPC1768 | LSM9DS1 |
---|---|
GND | GND |
+5V | VOUT |
p28 | SDA |
p27 | SCL |
Speaker
mbed LPC1768 | Speaker |
---|---|
GND | - |
+5V | + |
uLCD-144-G2
mbed LPC1768 | uLCD-144-G2 |
---|---|
VU | +5V |
p10 | TX |
p9 | RX |
p11 | RES |
SD Card Reader
mbed LPC1768 | SD Card Reader |
---|---|
Vout | VCC |
GND | GND |
p7 | SCK |
p5 | DI |
p8 | CS |
Setup for Ball in the Hole Game
Gameplay
Program
Import programBall_In_The_Hole
mbed Ball In the Hole Game
}
1 comment on Ball in the Hole Game:
Please log in to post comments.
Hello Kevin, thank you so much for sharing this wonderful game!! Can you tell me please, where can i find the "wav" files that you have used in the game? I see that you loaded it from the SD Card, can you share it please?