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 EasyCAT_lib
Revision 1:c342bace09db, committed 2019-01-09
- Comitter:
- EasyCAT
- Date:
- Wed Jan 09 09:42:33 2019 +0000
- Parent:
- 0:739b2b5ca0f6
- Commit message:
- revision 2 - moved "DigitalOut Led(LED1)"
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Sep 12 17:32:00 2017 +0000
+++ b/main.cpp Wed Jan 09 09:42:33 2019 +0000
@@ -12,6 +12,10 @@
//********************************************************************************************
+// revision 2 - moved "DigitalOut Led(LED1)"
+
+
+
//---- AB&T EasyCAT shield loopback test 170912 ---------------------------------------------
//
// Derived from the example Arduino project TestEasyCAT_LoopBack.ino
@@ -49,7 +53,7 @@
//---- pins declaration ------------------------------------------------------------------------------
-DigitalOut Led(LED1);
+
//---------------------------------------------------------------------------------------------
@@ -72,6 +76,8 @@
// The most common reason is that the SPI
// chip select choosen on the board doesn't
// match the one choosen by the firmware
+
+ DigitalOut Led(LED1); //
while (1) // stay in loop for ever
{ // with the led blinking
