Commit 85277970 authored by Patrick's avatar Patrick

fractional meter sending, allow offset, sensible settings location

parent 16f1cb44
......@@ -4,9 +4,18 @@ An Arduino & red-peg based water-level ultrasound sensor in an IP rated case, ba
# Changelog
* TODO: Platformio code for gsm-ultrasound needs porting to compile in the
Arduino IDE without library install.
## 20th November 2017
* Sending changed to fractional meters instead of millimeters.
* Settings moved to the top of the code, and server and entity_id separated out.
* Offset distance added for adjusting the level.
## 19th November 2017
6 Prototypes prepared for in field testing. This is equivalent to TRL4, and as
6 Prototypes prepared for in field testing, this is equivalent to TRL5. As
an initial test, the main target for this is to find as many problems
with the devices or design assumptions by placing the devices into a working
environment, and by them being used by people outside of the design process.
......
......@@ -15,9 +15,9 @@ File myFile;
#define MAX_DEPTH 15000 // sensor to bed depth in mm
#define OFFSET 0 // gauge offset in mm
#define ORDINAL_INTERVAL 15
#define ORDINAL_INTERVAL 15 // ordinal minutes (0,15,30,45)
#define NUM_MMNT 11 // measurement buffer length
#define NUM_TO_SEND 10
#define NUM_TO_SEND 10 // how many measurements should be gathered before sending
#define SERVER_NAME ((char*)"nw.teal-mallet.net")
#define ENTITY_ID ((char*)"aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment