Remove redundant method
This commit is contained in:
parent
58ef89e943
commit
948962b8a4
2 changed files with 1 additions and 5 deletions
2
.vscode/arduino.json
vendored
2
.vscode/arduino.json
vendored
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue