This program utilizes the mcr20 Thread Shield on the FRDM-K64F MCU which is a two-part workspace (HVAC Server (RX)/Probe(TX)) to handle low temperature events read at the probe(s) to prevent pipes from freezing.

Dependencies:   fsl_phy_mcr20a fsl_smac mbed-rtos mbed

Fork of mcr20_wireless_uart by NXP

Revision:
0:01fb291427ce
Child:
1:6055c6873f85
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Mar 03 20:08:35 2015 +0000
@@ -0,0 +1,21 @@
+// Hello world example of MCR20
+#include "mbed.h"
+
+SPI mcr20(D11, D12, D13);
+DigitalOut cs(D10, 1);
+DigitalOut led(LED1, 1);
+Serial pc(USBTX, USBRX);
+
+int main(void)
+{
+    char control;
+    char buf[128];
+    
+    while(1) {
+        if (pc.readable()) {
+            led = !led;
+            pc.getc();
+        }
+        //pc.scanf("%c%s\n", &control, &buf);
+    }    
+}
\ No newline at end of file