meurig phillips snake game - accidentally published to my account instead of to the group!

Dependencies:   Joystick N5110 SDFileSystem beep fsmMenu mbed

Fork of SnakeProjectRev1 by Meurig Phillips

Revision:
10:7820b46476ea
Child:
11:f8478bc749e0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.h	Sun May 01 11:11:19 2016 +0000
@@ -0,0 +1,30 @@
+/**
+@file main.h
+@brief Header file containing functions prototypes, defines and global variables.
+@brief Revision 1.0.
+@author Meurig Phillips
+@date   April 2016
+*/
+
+#ifndef MAIN_H
+#define MAIN_H
+
+#include "mbed.h"
+
+/**  
+@namespace button
+@brief GPIO input for joystick button
+@namespace xPot
+@brief GPIO input for joystick x potentiometer value
+@namespace yPot
+@brief GPIO input for joystick y potentiometer value
+@namespace greenLed
+@brief GPIO output for green LED
+@namespace redLed
+@brief GPIO output for red LED
+*/
+DigitalIn button(PTB18);
+AnalogIn xPot(PTB2);
+AnalogIn yPot(PTB3);
+DigitalOut greenLed(PTC2);
+DigitalOut redLed(PTA2);
\ No newline at end of file