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
Diff: main.cpp
- Revision:
- 1:1e7996e6c4a7
- Parent:
- 0:31a727b65397
- Child:
- 2:1e780f9c21b1
--- a/main.cpp Tue Sep 12 17:14:08 2017 +0000
+++ b/main.cpp Wed Jan 09 09:45:21 2019 +0000
@@ -12,6 +12,10 @@
//********************************************************************************************
+// revision 2 - moved "DigitalOut Led(LED1)"
+
+
+
//----- EasyCAT shield application basic example for mbed boards 170912 ----------------------
//----- Derived from the example project TestEasyCAT.ino for the AB&T EasyCAT Arduino shield
@@ -69,7 +73,7 @@
DigitalIn In_2(D6); //
DigitalIn In_3(D7); //
-DigitalOut Led(LED1); //
+
@@ -123,6 +127,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