LedControllerTests
Dependencies: LedController
Fork of ServomotorTests by
Diff: main.cpp
- Revision:
- 3:47bca612f8ff
- Parent:
- 1:6e4e8b9d6069
--- a/main.cpp Sun Feb 26 14:22:53 2017 +0000 +++ b/main.cpp Sun Mar 05 18:52:56 2017 +0000 @@ -1,19 +1,5 @@ -#include "RealPwmOut.hpp" -#include "Servomotor.hpp" - int main() { - RealPwmOut pwm_out(p21);; - Servomotor target(pwm_out); - - printf("Test: The servo should go from 0 to 90 degrees, and back to 0\r\n"); - - while(true) - { - target.set_position_down(); - wait_ms(500); - target.set_position_up(); - wait_ms(500); - } - + //TODO: Manual tests for LED's + return 0; }