Control STM32F10x GPIO over USB serial.
Commands are terminated by \n.
Command strings (examples affect pin PA9):
sa9: no-op (just return pin status)ha9: set output highla9: set output lowua9: set input pull-upda9: set input pull-downfa9: set input floating
All commands return a single byte representing pin status: 0 or 1.
Unrecognised input is ignored (no response).
Send \n to sync. For example: \nha9\n.
Source code, and all binary releases, are freely redistributable in any form. Please see the license.