Remove redundant method

This commit is contained in:
Robert Marshall 2018-09-19 22:10:36 +01:00
parent 58ef89e943
commit 948962b8a4
2 changed files with 1 additions and 5 deletions

View file

@ -1,5 +1,5 @@
{
"port": "/dev/ttyUSB0",
"port": "/dev/ttyUSB1",
"board": "esp8266:esp8266:d1_mini",
"configuration": "CpuFrequency=80,FlashSize=4M1M,LwIPVariant=v2mss536,Debug=Disabled,DebugLevel=None____,UploadSpeed=921600",
"sketch": "monitor.ino"

View file

@ -89,10 +89,6 @@ void setup() {
Serial.println(lightChangeInterval);
}
float mapfloat(float x, float in_min, float in_max, float out_min, float out_max) {
return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min;
}
float readpH() {
Serial.println("Reading pH...");
int sum = 0;