Sandwich Maker Pro
Hungry?
Sandwich Maker Pro lets you realize your dreams of becoming a professional sandwich artist using the uLCD, SparkFun Nav Switch, Pushbuttons, microSD reader and Class D Amplifier breakouts in real time!
Import program4180-lab4
Faizan and Pages fun little game
Instructions
Move your sandwich using the navswitch to collect toppings as they fall from the sky. Collect cheese, lettuce, tomato, and a bun (speed this up by holding down) to complete your masterpiece and rack up those sweet sweet points. Be careful to avoid the not so fresh ingredients, or suffer the loss of a life. You'll be provided with some brief instructions at the start of the game, and you can always press the Pause button if you feel overwhelmed.
Bon appetit!
P.S. Looking for that extra bread? That sandwich fix? Some way to scratch that topping itch? Press the rate button and watch the skies. Remember; if you can't stand the heat, stay out of the deli!
Component Pages
- mbed (LPC1768)
- uLCD display
- Nav Switch with breakout from SparkFun
- Pushbuttons
- microSD Reader breakout from SparkFun
- Class D audio amplifier breakout from SparkFun
- Small 0.1 Watt speaker
Wiring Configurations
uLCD
mbed | uLCD header |
---|---|
p11 (DigitalOut) | Res |
VU (+5 V) | +5V |
p10 (RX) | TX |
p9 (TX) | RX |
Gnd | Gnd |
Pushbuttons
mbed | Rate control button |
---|---|
p22 | pin, no external pullup |
GND | GND |
mbed | Pause button |
---|---|
p21 | pin, no external pullup |
GND | GND |
Nav Switch
mbed | Nav Switch breakout |
---|---|
+ | |
p20 | U - up |
p15 | C - center |
p17 | L - left |
p19 | D - down |
p16 | R - right |
GND | - |
microSD Reader
mbed | microSD breakout |
---|---|
CD | |
p6 (MISO) | DO |
GND | GND |
p7 (SCK) | SCK |
Vout (3.3 V) | Vcc |
p5 (MOSI) | DI |
p8 (Digital Out) | CS |
Class D Audio Amplifier w/ Speaker
mbed | Amplifier breakout | Speaker |
---|---|---|
GND | PWR - , IN - | |
Vout (3.3 V) | PWR + | |
p18 (AnalogOut) | IN + | |
OUT + | + (red) | |
OUT - | - (black) |
Please log in to post comments.