Mouse code for the MacroRat
Diff: main.cpp
- Revision:
- 2:771db996cee0
- Parent:
- 1:8a4b2f573923
- Child:
- 3:880f15be8c72
diff -r 8a4b2f573923 -r 771db996cee0 main.cpp --- 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);