mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-08 13:10:29 +00:00
Update Node.md
This commit is contained in:
parent
d95628a638
commit
43ebe11fed
@ -21,7 +21,8 @@ Sets the device to listen for a specific DataReading id. When a DataReading with
|
||||
Removes ```sub_id``` from subscription list.
|
||||
|
||||
## Basic usage:
|
||||
### Sensor:
|
||||
### Sensor
|
||||
Sends data (a temperature of 21.0) to the gateway it is addressed to.
|
||||
```
|
||||
void setup() {
|
||||
beginFDRS();
|
||||
@ -34,6 +35,7 @@ void loop() {
|
||||
```
|
||||
|
||||
### Controller
|
||||
Registers with, then receives data from the device it is addressed to.
|
||||
|
||||
```
|
||||
void fdrs_recv_cb(DataReading theData) {
|
||||
|
Loading…
Reference in New Issue
Block a user