Mouse code for the MacroRat

Dependencies:   ITG3200 QEI

Files at this revision

API Documentation at this revision

Comitter:
sahilmgandhi
Date:
Thu Apr 27 22:02:14 2017 +0000
Parent:
1:8a4b2f573923
Child:
3:880f15be8c72
Commit message:
changed the library

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-dev.lib Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Apr 26 01:43:35 2017 +0000
+++ b/main.cpp	Thu Apr 27 22:02:14 2017 +0000
@@ -27,10 +27,14 @@
     wait (0.1);
     serial.printf("%i, %i, %i\n", gyro.getGyroX(), gyro.getGyroY(), gyro.getGyroZ());
         
-    IR_1.write(1);
-    IR_2.write(1);
-    IR_3.write(1);
-    IR_4.write(1);
+    //IR_1.write(1);
+//    IR_2.write(1);
+//    IR_3.write(1);
+//    IR_4.write(1);
+    
+    redLed.write(1);
+    greenLed.write(0);
+    blueLed.write(1);
     
     //while (1) {
 //        redLed.write(0);
--- a/mbed-dev.lib	Wed Apr 26 01:43:35 2017 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://mbed.org/users/mbed_official/code/mbed-dev/#e13f6fdb2ac4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Apr 27 22:02:14 2017 +0000
@@ -0,0 +1,1 @@
+https://mbed.org/users/mbed_official/code/mbed/builds/97feb9bacc10
\ No newline at end of file