send a number through serial USB >> blink it in binary using the default LED
Fork of mbed-os-example-mbed5-blinky by
README.md@53:2da3dc1461af, 2017-11-11 (annotated)
- Committer:
- Ladon
- Date:
- Sat Nov 11 15:19:06 2017 +0000
- Revision:
- 53:2da3dc1461af
- Parent:
- 52:fb9d943f4042
simplifying README.md
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Ladon | 52:fb9d943f4042 | 1 | What i did to make it work is : |
Ladon | 51:38bcf5ee4cb1 | 2 | |
Ladon | 52:fb9d943f4042 | 3 | 1) open usb in file manager |
Ladon | 52:fb9d943f4042 | 4 | 2) run in a terminal : |
Ladon | 53:2da3dc1461af | 5 | $ 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 |
Ladon | 53:2da3dc1461af | 6 | $ cat /dev/ttyACM0 |
Ladon | 52:fb9d943f4042 | 7 | 3) run in another terminal : |
Ladon | 52:fb9d943f4042 | 8 | $ cat > /dev/ttyACM0 |
Ladon | 51:38bcf5ee4cb1 | 9 | |
Ladon | 52:fb9d943f4042 | 10 | info : |
Ladon | 52:fb9d943f4042 | 11 | *) to quit, hit <Ctrl>+<C> |
Ladon | 52:fb9d943f4042 | 12 | *) /dev/ttyACM0 is an example |