BroBot Code for ESE350 Lab6 part 3 (Skeleton)

Dependencies:   MPU6050_V3 mbed-rtos mbed

Fork of BroBot_RTOS_ESE350 by Carter Sharer

Revision:
12:16d1a5390022
Parent:
11:2553f5798f84
diff -r 2553f5798f84 -r 16d1a5390022 stepper_motors.h
--- a/stepper_motors.h	Thu Jan 19 19:18:54 2017 +0000
+++ b/stepper_motors.h	Tue Jan 24 01:30:16 2017 +0000
@@ -19,7 +19,8 @@
 int16_t motor1, motor2;
 
 //Motor Position
-int pos_M1 = 0, pos_M2 = 0;
+volatile int pos_M1 = 0;
+volatile int pos_M2 = 0;
 
 // =============================================================================
 // ===                   Interrupt Service Soutine                           ===