This is the first rev of HW3 for IDD
Dependencies: MMA8451Q USBDevice mbed nRF24L01P
Diff: main.cpp
- Revision:
- 4:7012a2af25f6
- Parent:
- 3:99ed0483f868
diff -r 99ed0483f868 -r 7012a2af25f6 main.cpp --- a/main.cpp Mon Sep 29 17:14:42 2014 +0000 +++ b/main.cpp Mon Sep 29 17:22:35 2014 +0000 @@ -281,7 +281,7 @@ if (attackflag == true){ if (motorCycle < 250){ motorCycle++; - motor.write(0.80f); // 40% duty cycle, relative to period + motor.write(0.40f); // 40% duty cycle, relative to period } else {