The field version of the solarnano grid on the ionQubes
Fork of SolarNanoGridv3 by
Diff: SolarNanoGrid.cpp
- Revision:
- 13:de43f28c0365
- Parent:
- 11:87ab310924f0
- Child:
- 16:919e37e5a895
--- a/SolarNanoGrid.cpp Wed Jun 08 22:48:09 2016 +0000 +++ b/SolarNanoGrid.cpp Fri Jun 10 14:17:38 2016 +0000 @@ -25,12 +25,13 @@ */ #include <mbed.h> #include "SolarNanoGrid.h" - +#define FUNCNAME "SNGC" +#include "defs.h" // Constructor: /** * Constructor. */ -SolarNanoGrid::SolarNanoGrid(FILE *fp=NULL, Serial *pc=NULL):_fp(fp),pc(pc){ +SolarNanoGrid::SolarNanoGrid(FILE *fp=NULL, Serial *pc=NULL):pc(pc),_fp(fp){ // Save the sd card pointer: DBG("Solar init"); // Leds @@ -127,8 +128,13 @@ nrf->setRadio(0x01, 0x03); // 2MB/S 0dB nrfFlush(); } +/** + * loop -/** +void SolarNanoGrid::loop(){ + ; + } + * Sets NRF as TX and flushes the NRF */ void SolarNanoGrid::setAsTX(long long addr){