To push buttons (or switches) on an XBee ZB device report the conditions of input ports on it to a Nucleo board, and display them on a LCD.

Dependencies:   TextLCD mbed xbee

Please refer to the following site for the details:

Revision:
7:c2abaaca46a5
Parent:
0:c4c775a72ba9
--- a/main.cpp	Fri Sep 26 13:00:07 2014 +0000
+++ b/main.cpp	Sat Oct 04 01:44:53 2014 +0000
@@ -4,6 +4,13 @@
 XBee子機のDIO1~3(XBee_pin 19~17)をHigh や Low にすると PCまたはH8の
 親機にスイッチの状態が表示されます。
 
+Sample Code 2 Switch
+To push buttons on an XBee ZB device report the conditions of input
+ports on it to a Nucleo board, and display them on a LCD.
+When you will use this anything other than Nucleo microcomputer board,
+please change the 4th line of xbee/xbee.cpp:
+RawSerial _xbee_serial(SERIAL_TX, SERIAL_RX);
+        
 本ソースリストおよびソフトウェアは、ライセンスフリーです。
 利用、編集、再配布等が自由に行えますが、著作権表示の改変は禁止します。