Example program for CanNucleoF0 library. Can download same program onto multiple Nucleo-F091RC devices. Devices will maintain number of messages sent and send that number to the other device(s).
Dependencies: mbed-src-CanNucleoF0
Revision 1:cc465eab3e69, committed 2015-12-17
- Comitter:
- ptpaterson
- Date:
- Thu Dec 17 03:20:19 2015 +0000
- Parent:
- 0:c76257ab6331
- Commit message:
- example created
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r c76257ab6331 -r cc465eab3e69 main.cpp --- a/main.cpp Thu Dec 17 03:11:52 2015 +0000 +++ b/main.cpp Thu Dec 17 03:20:19 2015 +0000 @@ -16,7 +16,7 @@ int main() { - printf ("\r\n"); + printf ("\r\n----- MAIN -----\r\n"); /* blinker task*/ boardLed = 0; @@ -37,7 +37,7 @@ CANMessage msgRx; - printf ("\r\n----- READY -----\r\n"); + printf ("----- READY -----\r\n"); while (1) { if (can.read (msgRx)) {