I’m using Maestro board to control a single motor, with the code ‘MaestroSerialExampleCWindows.zip’, but I got a question:
how to compile the code with MinGW and download the code to the board?
The code in MaestroSerialExampleCWindows.zip is meant to be compiled and executed on a computer running Microsoft Windows. The computer would be connected to the Maestro via USB.
We do not support loading C code onto the Maestro. If you want to program the Maestro itself, you can use the Maestro scripting language, which is documented in the user’s guide.
We also sell several development boards. Most of these boards can be programmed in C or C++ and can send commands to the Maestro via TTL serial.
Please let me know if you have any further questions.
You can use the Maestro scripting language, which is documented in the “The Maestro Scripting Language” section of the user’s guide. Maestro scripts are stored on the Maestro itself when you click the “Apply settings” button, and your script will automatically run whenever the Maestro starts up if you check the “Run script on startup” checkbox.
Thank you David.
“The Maestro Scripting Language” looks fine.
But is there a solution that I can write and compile C code to Maestro board and then disconnect the PC and board, the board runs the commands automatically without connecting to the PC?