EasyCAT LAB - EtherCAT master simple example

Dependencies:   SOEM SPI_TFT_ILI9341 TFT_fonts

  • This repository contains a simple example for the EasyCAT LAB , a complete educational and experimental EtherCAT® system, composed of one master and two slaves.

Note

  • This example uses two LAB 2 slaves.

Note

  • In this example only two bytes of data are exchanged between the slaves and are also visualized on the TFT display.
Revision:
1:385bdd2b4cd6
Parent:
0:13be39911caf
Child:
2:a0e017115fc5
--- a/main.cpp	Mon Jul 08 17:44:47 2019 +0000
+++ b/main.cpp	Fri May 07 10:06:46 2021 +0000
@@ -49,7 +49,7 @@
                                   
 #define SysMilliS() (uint32_t)Kernel::get_ms_count()                                      
 
-Serial pc(USBTX,USBRX,115200);          // set the debug serial line speed to 115200
+UnbufferedSerial pc(USBTX,USBRX,115200);          // set the debug serial line speed to 115200
 
 
 //---- TFT with resistive touchscreen pins -------------------------------------