Firmware for GPS-tracked PM10 sensors on opensensemap.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

15 lines
249 B

#include <LoraEncoder.h>
byte mydata[12];
void setup() {
LoraEncoder encoder(mydata);
encoder.writeUnixtime(1468075322);
encoder.writeLatLng(-33.905024, 151.26648);
do_send(&sendjob);
}
void loop(void) {
os_runloop_once();
}