Interfacage projet

Dependencies:   BSP_DISCO_F746NG LCD_DISCO_F746NG TS_DISCO_F746NG herkulex mbed

Files at this revision

API Documentation at this revision

Comitter:
genath6
Date:
Thu Jun 21 10:30:45 2018 +0000
Parent:
0:d109c328c59a
Commit message:
Creation du projet

Changed in this revision

herkulex.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r d109c328c59a -r 0672bec4f646 herkulex.lib
--- a/herkulex.lib	Thu Jun 21 10:29:08 2018 +0000
+++ b/herkulex.lib	Thu Jun 21 10:30:45 2018 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/passionvirus/code/herkulex/#0d98883391a2
+https://os.mbed.com/users/genath6/code/herkulex/#0d98883391a2
diff -r d109c328c59a -r 0672bec4f646 main.cpp
--- a/main.cpp	Thu Jun 21 10:29:08 2018 +0000
+++ b/main.cpp	Thu Jun 21 10:30:45 2018 +0000
@@ -165,7 +165,7 @@
                  lcd.FillRect(380,90,50,25);
                  position = sv.getPos(SERVO_ID); 
                  if( position <= 490)
-                 {    sv.positionControl(SERVO_ID, 554 + position, 60, BLED_ON);
+                 {   sv.positionControl(SERVO_ID, 554 + position, 60, BLED_ON);
                      wait(1);
                      sv.getStatus(SERVO_ID);
                      position = sv.getPos(SERVO_ID);