By connecting to the "ACM" port exposed on the USB of the STM32 (used as a service and connected to a PC) it is possible to send alphanumeric command (eg with "minicom") in order to perform: -Digital Output. -Switched pulse. -Digittal Input. -Analogic Input. -Request of a brief (returned by the serial line): 'H' or '?'. Note that all the commands can be given on a single string and it will be executed readily just at the instant each one is completely received.

Dependencies:   regex mbed

Committer:
lsola
Date:
Tue Dec 19 09:23:12 2017 +0000
Revision:
0:2c26b4ba7cf3
First commit.; This represents a "USBSerial" endpoint that accepts alphanumeric commands to set port digital output, input, analogic input, pulse output like, eg: "DO PB 0 1" (to se the pin 1 of port B to '1').; Giving a 'H' or '?' it returns a brief.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
lsola 0:2c26b4ba7cf3 1 http://os.mbed.com/users/mbed_official/code/USBDevice/#53949e6131f6