sketchbook
|
#include <PJON.h>
Macros | |
#define | ENABLE_UNITTEST |
#define | SENSOR "owp:dg:lora:v1" |
#define | READ_INFO 0x01 |
#define | READ_VCC 0x11 |
#define | READ_TEMP 0x12 |
#define | READ 0x21 |
#define | WRITE 0x22 |
#define | WRITE_CAL 0x32 |
#define | PJON_INCLUDE_TL |
Functions | |
PJON< ThroughLora > | bus (42) |
void | setup () |
void | receiver_function (uint8_t *payload, uint16_t length, const PJON_Packet_Info &packet_info) |
void | loop () |
float | readVcc () |
float | readTemp (void) |
Variables | |
uint8_t | mem_buffer [256] |
#define ENABLE_UNITTEST |
needs doxygen docu - derived from DeviceGeneric.ino using Yun_Dragino... and ..._SWBB-TL tunneler and https://github.com/gioblu/PJON/tree/master/src/strategies/ThroughLoRa ...
#define PJON_INCLUDE_TL |
#define READ 0x21 |
#define READ_INFO 0x01 |
#define READ_TEMP 0x12 |
#define READ_VCC 0x11 |
#define SENSOR "owp:dg:lora:v1" |
#define WRITE 0x22 |
#define WRITE_CAL 0x32 |
PJON<ThroughLora> bus | ( | 42 | ) |
void loop | ( | void | ) |
OneWirePJON device status update function.
float readTemp | ( | void | ) |
Internal Temperature Sensor for ATmega328 types.
void |
float readVcc | ( | ) |
Accessing the secret voltmeter on the Arduino 168 or 328.
void receiver_function | ( | uint8_t * | payload, |
uint16_t | length, | ||
const PJON_Packet_Info & | packet_info | ||
) |
void setup | ( | void | ) |
Arduino IDE: put your setup code here, to run once.
uint8_t mem_buffer[256] |