You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
249 B
Arduino
16 lines
249 B
Arduino
7 years ago
|
#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();
|
||
|
}
|