Framework for etch-a-sketch program (designed for course ENGO 333 at UofC)

Dependencies:   C12832 MMA7660 mbed

Fork of etch-a-sketch by Mark Petovello

Revision:
5:4a28ddd11b5f
Parent:
4:d4586ea5004e
Child:
6:4757abd843e1
--- a/main.cpp	Sat Nov 18 19:34:26 2017 +0000
+++ b/main.cpp	Sat Nov 18 19:39:33 2017 +0000
@@ -6,6 +6,8 @@
 int main() 
 {  
     // Variables
+    int x, y, joy, press;
+    float accX, accY, accZ, acc3;
     
     // create an accelerometer object
     MMA7660 accelerometer(p28, p27);
@@ -59,8 +61,9 @@
     
 
         // TODO: Check if the screen should be cleared based on the accelerometer 
-        //       measurements, and if so, clear the screen and move the active 
-        //       pixel to the center of the screen again. 
+        //       measurements, and if so:
+                 // clear the screen and move the active pixel to the center of the screen again
+                 // trun the left LED on for 0.1 seconds and turn it off again.
         //
         //       NOTE: Although you may have an idea of how to do this, it may take some
         //             "tuning" to get it to "feel right".