ECE 4180 Spring 2016 Lab 4
Dependencies: Memory_Card_Game SDFileSystem mbed
Revision 6:88e284f2063c, committed 2016-03-14
- Comitter:
- kravemind
- Date:
- Mon Mar 14 19:53:33 2016 +0000
- Parent:
- 5:6853dc5bd06d
- Commit message:
- fixed nav switch pins;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 6853dc5bd06d -r 88e284f2063c main.cpp --- a/main.cpp Mon Mar 14 19:51:36 2016 +0000 +++ b/main.cpp Mon Mar 14 19:53:33 2016 +0000 @@ -10,7 +10,7 @@ AnalogOut DACout(p18); // used to play sound on speaker wave_player waver(&DACout); //wave player plays a *.wav file to D/A and a PWM -uLCD_4DGL uLCD(p28,p27,p30); // serial tx, serial rx, reset pin; +uLCD_4DGL uLCD(p28,p27,p26); // serial tx, serial rx, reset pin; SDFileSystem sd(p11, p12, p13, p14, "sd"); //SD card setup // Function to play wav file @@ -86,7 +86,7 @@ } //up, down, left, right, center - Nav_Switch myNav( p8, p6, p7, p5, p17); + Nav_Switch myNav( p9, p6, p7, p5, p8); Timer t;