send a number through serial USB >> blink it in binary using the default LED
Fork of mbed-os-example-mbed5-blinky by
README.md
- Committer:
- Ladon
- Date:
- 2017-11-11
- Revision:
- 52:fb9d943f4042
- Parent:
- 51:38bcf5ee4cb1
- Child:
- 53:2da3dc1461af
File content as of revision 52:fb9d943f4042:
What i did to make it work is : 1) open usb in file manager 2) run in a terminal : $ stty -F /dev/ttyACM0 cs8 9600 ignbrk -brkint -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke noflsh -ixon -crtscts -igncr -icrnl -onocr min 1 && cat /dev/ttyACM0 3) run in another terminal : $ cat > /dev/ttyACM0 info : *) to quit, hit <Ctrl>+<C> *) /dev/ttyACM0 is an example