Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: main.cpp
- Revision:
- 1:9835d6304284
- Parent:
- 0:0d446aab48a6
- Child:
- 2:66a4e5d7a7cd
--- a/main.cpp Wed Feb 20 11:50:27 2019 +0000 +++ b/main.cpp Wed Feb 27 05:40:31 2019 +0000 @@ -6,4 +6,26 @@ Username: el17aio Student ID Number: 201157039 Date: 20/02/2019 -*/ \ No newline at end of file +*/ + +DigitalIn a_button(PTB9); +DigitalIn b_button(PTD0); +DigitalIn x_button(PTC17); +DigitalIn y_button(PTC12); +DigitalIn l_button(PTB18); +DigitalIn r_button(PTB3); +DigitalIn back_button(PTB19); +DigitalIn start_button(PTC5); + +N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11); +BusOut leds; + +AnalogIn pot; + +Tone dac; +ShiftReg shift; + +// function prototypes +init(); +print_menu(); +welcome(); \ No newline at end of file