reeeeeeeeeeeeeee

Dependencies:   MotionSensor mbed

Fork of Assignment2_ver5 by weeb grammers

Revision:
9:751e39d24c39
Parent:
8:45befd2bb1e5
--- a/Hardware.cpp	Tue Nov 29 20:32:27 2016 +0000
+++ b/Hardware.cpp	Tue Nov 29 22:06:14 2016 +0000
@@ -4,18 +4,18 @@
 #define LOW  0
 #define HIGH 1
 
-#include "pinmap.h"
-#include "FXOS8700Q.h"
+//#include "pinmap.h"
+//#include "FXOS8700Q.h"
 
 ////////////////////////////////////////////////////////
-FXOS8700Q_acc acc(PTE25, PTE24, FXOS8700CQ_SLAVE_ADDR1);
+//FXOS8700Q_acc acc(PTE25, PTE24, FXOS8700CQ_SLAVE_ADDR1);
 
 /* Constants and Declares */
-int numCount;
-int const MAX_NUM_COUNTS = 3;
-int const TIMING_PERIOD = 20; // Sensor polling interval
+//int numCount;
+//int const MAX_NUM_COUNTS = 3;
+//int const TIMING_PERIOD = 20; // Sensor polling interval
 
-uint8_t motion_exceeded_threshold = 0;
+//uint8_t motion_exceeded_threshold = 0;
 ///////////////////////////////////////////
 DigitalOut output_pin_A(LED3);
 DigitalOut output_pin_V(LED2);
@@ -210,7 +210,7 @@
 }
 ///////////////////////////////////////////////////////////////////////////////////////////////
 
-void initialize_motion () {
+/*void initialize_motion () {
     acc.enable();
 }
 
@@ -229,8 +229,8 @@
  * a global counter and sets a timer to keep track of number of flags within
  * timing limit.
  */ 
-void a_count(void) {
-    /* step 1 increment the counter */
+/*void a_count(void) {
+    /* step 1 increment the counter 
     numCount++;
     
 
@@ -256,4 +256,4 @@
         }
 
     }   
-}
\ No newline at end of file
+}*/
\ No newline at end of file