An example of usage of the X-NUCLEO-PLC01A1 Programmable Logic Controller Expansion Board.

Dependencies:   X_NUCLEO_PLC01A1

PLC with the X-NUCLEO-PLC01A1 Expansion Board

This application provides a simple example of usage of the X-NUCLEO-PLC01A1 Programmable Logic Controller Expansion Board.
It shows how to use one PLC connected to the board, driving the status of each output channels according to the status of each input channels.

Revision:
1:331915faf16e
Parent:
0:4f51d6a15c93
Child:
2:bf16a2ba8662
--- a/main.cpp	Fri Feb 19 12:19:51 2016 +0000
+++ b/main.cpp	Fri Feb 19 14:46:29 2016 +0000
@@ -58,7 +58,7 @@
 #define OUT_EN D6
 
 /* Uncomment this for OUTPUT_CYCLING ENABLE */
-//#define OUTPUT_CYCLING
+#define OUTPUT_CYCLING
 
 /* Variables -----------------------------------------------------------------*/