Make LED blink with Autohotkey

Hi everyone, Newbie question here. I’ve read the example on the Pololu Autokey support page about turning a LED on and OFF on port 0:

^!c:: Run usccmd --servo 0,8000,,Hide ^!b:: Run usccmd --servo 0,0,Hide

How would I be able to make a LED blink once by just using one key. Let’s say CTRL and 1 keys make the LED turn on then off at a certain speed. ^1:: speed of 200m/s?

I found this little script which works:
RunWait usccmd --servo 0,8000,,Hide Sleep 200 RunWait usccmd --servo 0,0,Hide

1 Like