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.

Files at this revision

API Documentation at this revision

Comitter:
apalmieri
Date:
Fri Feb 19 14:46:29 2016 +0000
Parent:
0:4f51d6a15c93
Child:
2:bf16a2ba8662
Commit message:
Sync w/ rev114 of mbed lib

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- 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 -----------------------------------------------------------------*/
 
--- a/mbed.bld	Fri Feb 19 12:19:51 2016 +0000
+++ b/mbed.bld	Fri Feb 19 14:46:29 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/f141b2784e32
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/252557024ec3
\ No newline at end of file