-->
Page 3 of 3

Re: THERMOSTAT :ESPBASIC V2 -MULITPLE SENSORS AND HTML FORMA

PostPosted: Mon Mar 20, 2017 3:50 am
by amir prince
Hello
im trying this code but im getting error
Error at line 63: The arguments must be 2!Error at line 63: Halted

using esp8266 - wemos D1
please help

thanks

Re: THERMOSTAT :ESPBASIC V2 -MULITPLE SENSORS AND HTML FORMA

PostPosted: Mon Mar 20, 2017 10:42 am
by Mmiscool
This script was for esp basic v2.

V2 did not require commas when defining gui items such as buttons.

I highly suggest looking at the script and porting it to v3.

Re: THERMOSTAT :ESPBASIC V2 -MULITPLE SENSORS AND HTML FORMA

PostPosted: Tue Mar 21, 2017 7:39 am
by amir prince
Hi,
thank you very much for the answer, its a really good code but my programming skills are not that great.
im looking for a device and code like that for my fish tank.
can you help me to setup this code for V3 so i can use it with both sensros and 2 relays ? that will be great

thanks

Re: THERMOSTAT :ESPBASIC V2 -MULITPLE SENSORS AND HTML FORMA

PostPosted: Tue Mar 21, 2017 11:38 am
by Electroguard
If you download and use V2, the script may run 'as is'.

But please don't consider creating a fish tank thermostat - it is not going to run 100% without ever any hiccups... so you will inevitably either kill your fish, or cause them avoidable distress and misery.
Esp_Basic can be great fun, but you wouldn't seriously consider creating a heart pacemaker with it for yourself, nor should you consider putting other life at risk with it.