Hi guys, I am using an openCM and a robotis board. When I upload say the Dxl_Speed sketch it works as expected but if I pull out the power and then replace it, the code doesn't start again. I have to Press the "reset" button on the board before the code with start again (but don't re upload it). How do I get it so that If it has power, then it executes the code?
If you are still using OpenCM IDE, please use Arduino IDE as OpenCM IDE is not supported anymore.
In order to keep running the code while the power is on, you need to program it accordingly so the program in the loop can be executed.
Are there any example sketches which show program in loop?
Below is an example from Dynamixel2Arduino > basic > position_mode.
You can find the example after installing Dynamixel2Arduino library from Arduino IDE.