Below an example for io.read:
io.write('Hello, what is your name? ')
local name = io.read()
io.write('Nice to meet you, ', name, '!\n')
Explore... Chat... Share...
io.write('Hello, what is your name? ')
local name = io.read()
io.write('Nice to meet you, ', name, '!\n')
node.key()
Description
define button function, button is connected to GPIO16.
node.key(8) -- key found at GPIO0
node.led(8) -- LED found at GPIO0
alonewolfx2 wrote:Can you add driver for ds18b20 temprature sensor. driver is here.
https://github.com/pilotniq/esp8266-frankenstein/commit/ff4d8c4124f9ef5a383bb29c69a80f5ab5c5e48d
JoHannes wrote:Yes, ds1820 and dht11/22 would be really cool!
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[…]