Mini Maestro 12: script to control servos with keyboard?

I want to controll a servomotor bye using my keyboard( at example wenn i push w he starts to run so long i push w) from windows, but i dont find the right commands for the scripe of Pololu Maestro Control Center.

Can somebody please help me?


Hello, Alexander.

The Maestro scripting language does not support inputs directly from the keyboard like you described. One way to do something like that is to write a computer program that reads the input from the keyboard and sends commands to the Maestro over USB. You can find some information about sending commands to the Maestro over USB in the “Writing PC Software to Control the Maestro” section of the Maestro User’s Guide. You might find AutoHotkey scripting language for Windows helpful for handling keyboard presses.