Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of CAN_SENDER by
Diff: main.cpp
- Revision:
- 1:1e64adaf93da
- Parent:
- 0:b638c214ca06
- Child:
- 2:44a3c2680cbf
diff -r b638c214ca06 -r 1e64adaf93da main.cpp --- a/main.cpp Thu Feb 19 15:34:54 2015 +0000 +++ b/main.cpp Thu Feb 19 15:36:28 2015 +0000 @@ -5,7 +5,6 @@ //02/19/2015 //-------------------------------------------------------------- CAN can(p9, p10); -DigitalOut led(LED1); int main() { int messagecount = 0; @@ -15,9 +14,6 @@ if(can.read(msg)) { printf("%d ----- Message received: %d\n", messagecount, msg.data[0]); messagecount++; - led = 1; - wait(0.2); - } - led = 0; + } } } \ No newline at end of file