ESPBasic on the ESP8266, A quick project to try it out.
I would like to thank Mmiscool (Michael Molinari) on the ESPBasic Community Forum without his help getting this to work would have taken a lot longer.
ESPBasic Is Fast Fun and Simple, yet powerful. I am going to keep my little test jig as a play thing.
The ESP8266 is an Adafruit Hazzard Feather wifi I have had for a while. Everything else is pretty standard stuff.
Now here is the code:
Temp = 0
Hum = 0
PinDHT = 2
timer 4000, [branch] ‘ ## Timeer for auto refresh variables ##
oled.print(“Current Temperature”, 10,1)
oled.print(“Current Humidity”, 10,18)
oled.print(“Your IP is:”,10,36)
Temp = DHT.TEMP() ‘Current Temperature
Hum = DHT.HUM() ‘Current Humidity
That’s all there is to is, and being browser based easy to fiddle with and see results.
Lot’s of fun. ESPBasic check it out.
my first ebook