Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed ros_lib_kinetic
Diff: gimbal.cpp
- Revision:
 - 6:2ffa254e8f6e
 - Parent:
 - 4:89ebfa37663b
 - Child:
 - 7:950b3c3b5a2b
 
--- a/gimbal.cpp	Mon Mar 05 23:45:59 2018 +0000
+++ b/gimbal.cpp	Tue Mar 06 21:44:07 2018 +0000
@@ -10,7 +10,7 @@
 #include <prototypes.h>
 #include <Mx28.h>
 
-static int i = 0;
+static int i = 0; //Variable to only update one servo each loop. 
 
 void runGimbal(void){
         switch(i){