The field version of the solarnano grid on the ionQubes

Fork of SolarNanoGridv3 by SONG Project

Revision:
7:5db9aeec9c2e
Parent:
6:93ca8321f83e
Child:
10:30c9e8df0032
--- a/SolarNanoGrid.cpp	Thu Jun 02 16:43:53 2016 +0000
+++ b/SolarNanoGrid.cpp	Fri Jun 03 11:26:10 2016 +0000
@@ -55,6 +55,20 @@
     ce = new DigitalOut(PTB20);
     nrf = new NRF2401P(PTD6, PTD7, PTD5, PTD4, PTB20);       // Rev E
     //nrf1 = new NRF2401P(PTD6,PTD7, PTD5,PTD4, PTC12); //mosi, miso, sclk, csn, ce) REV D // irq ptc18 on k64f
+    
+    // initialize all of the variables:
+    sdVersion=0;
+    id=0;
+    communityID=0;
+    chan=0;
+   
+
+    *ledRed=NULL;
+    *ledGreen=NULL;
+    *ledBlue=NULL;
+    _fp=NULL;
+    nrf=NULL;
+
 
 
 }