Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SolarNanoGridv3 by
Diff: SolarNanoGrid.cpp
- Revision:
- 13:de43f28c0365
- Parent:
- 11:87ab310924f0
- Child:
- 16:919e37e5a895
diff -r d9b13f31206d -r de43f28c0365 SolarNanoGrid.cpp
--- 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){
