I really like what you did here and I'm very new to coding and ESP could you send me the current code that works on a NodeMcu and Oled screen.
Thanks!
Explore... Chat... Share...
Moderator: Mmiscool
timer 15, [showme]
[showme]
memclear
cls
oled.cls()
ret = wget("api.coindesk.com/v1/bpi/currentprice.json")
oled.print("ESP Basic 3.0.Alpha 69", 10,1)
oled.print("BTC Price", 10,18)
oled.print(json(ret,"EUR.rate_float"), 60,18)
oled.print("Your IP is:", 10,36)
oled.print(ip(), 30,48)
wait
Mmiscool wrote:To hook up the OLED screen refer to the esp8266 basic docs. The oled uses i2c protocol.
As to the example. I believe it can be improved.
The following will update the display every 15 seconds.Code: Select alltimer 15, [showme]
[showme]
memclear
cls
oled.cls()
ret = wget("api.coindesk.com/v1/bpi/currentprice.json")
oled.print("ESP Basic 3.0.Alpha 69", 10,1)
oled.print("BTC Price", 10,18)
oled.print(json(ret,"EUR.rate_float"), 60,18)
oled.print("Your IP is:", 10,36)
oled.print(ip(), 30,48)
wait
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]