This commit is contained in:
Timm Bogner 2022-08-31 16:24:30 -05:00
parent 23e1191027
commit de147c6936
2 changed files with 10 additions and 1 deletions

View File

@ -49,6 +49,12 @@ void setup() {
subscribeFDRS(READING_ID);
}
void loop() {
// data1 = readHum();
// loadFDRS(data1, HUMIDITY_T);
// data2 = readTemp();
// loadFDRS(data2, TEMP_T);
// sendFDRS();
// sleepFDRS(10); //Sleep time in seconds
}
```
@ -99,7 +105,8 @@ For the moment, my thought is to reserve the first two bits of the type. I might
#define LATITUDE_T 21 // GPS Latitude
#define LONGITUDE_T 22 // GPS Longitude
#define ALTITUDE_T 23 // GPS Altitude
#define HDOP_T 24 // GPS HDOP
#define FLUIDLVL_T 25 // Fluid Level
```
## Under the hood
```

View File

@ -29,5 +29,7 @@
#define LATITUDE_T 21 // GPS Latitude
#define LONGITUDE_T 22 // GPS Longitude
#define ALTITUDE_T 23 // GPS Altitude
#define HDOP_T 24 // GPS HDOP
#define FLUIDLVL_T 25 // Fluid Level
#endif //FDRS_DATA_TYPES