Farm-Data-Relay-System/FDRS_Sensor2000/FDRS_Sensor2000.ino

24 lines
438 B
Arduino
Raw Normal View History

2021-12-18 20:46:02 +00:00
// FARM DATA RELAY SYSTEM
//
// Basic Sensor Example
//
// Developed by Timm Bogner (bogner1@gmail.com) for Sola Gratia Farm in Urbana, Illinois, USA.
// An example of how to send data using "fdrs_sensor.h".
//
#include "fdrs_sensor.h"
float data1 = 42.069;
float data2 = 21.0345;
void setup() {
2022-02-19 01:48:12 +00:00
2021-12-18 20:46:02 +00:00
beginFDRS();
}
void loop() {
loadFDRS(data1, 101);
loadFDRS(data2, 102);
sendFDRS();
delay(30000);
}