LedControllerTests

Dependencies:   LedController

Fork of ServomotorTests by NerfUS

Files at this revision

API Documentation at this revision

Comitter:
dupm2216
Date:
Sun Mar 05 18:52:56 2017 +0000
Parent:
2:576923533ab1
Commit message:
Initial commit for LedController manual tests

Changed in this revision

LedController.lib Show annotated file Show diff for this revision Revisions of this file
Servomotor.lib Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show diff for this revision Revisions of this file
diff -r 576923533ab1 -r 47bca612f8ff LedController.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LedController.lib	Sun Mar 05 18:52:56 2017 +0000
@@ -0,0 +1,1 @@
+https://developer.mbed.org/teams/NerfUS/code/LedController/#6f0756847428
diff -r 576923533ab1 -r 47bca612f8ff Servomotor.lib
--- a/Servomotor.lib	Sun Feb 26 14:22:53 2017 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://developer.mbed.org/teams/NerfUS/code/Servomotor/#093b3bdc1c40
diff -r 576923533ab1 -r 47bca612f8ff main.cpp
--- 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;
 }
diff -r 576923533ab1 -r 47bca612f8ff mbed.bld
--- a/mbed.bld	Sun Feb 26 14:22:53 2017 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/ef9c61f8c49f
\ No newline at end of file