print version()
load "\uploads\blink.bas"
print ip()
print id()
Output:
ESP Basic 3.0.Alpha 66
Loading . . . . \uploads\blink.bas
Done...
Explore... Chat... Share...
Moderator: Mmiscool
print version()
load "\uploads\blink.bas"
print ip()
print id()
ESP Basic 3.0.Alpha 66
Loading . . . . \uploads\blink.bas
Done...
Mmiscool wrote:Get rid of the leading slash ...
' https://www.esp8266basic.com/blink-example.html
' This will prompt the user to select the pin, blink duration and number of blinks to execute.
'
' GPIO 2 is normally connected to an LED on the nodemcu boards.
noOfBlinks = 0
pin = 0
blinkDelay = 1000
[top]
print "How many times to blink"
textbox noOfBlinks
print "Pin To use"
textbox pin
print "Blink Delay"
textbox blinkDelay
button "Blink Me Please", [blinkMe]
button "Exit", [getMeOutOfHere]
wait
[blinkMe]
for x = 1 to noOfBlinks
io(po,pin,1)
delay blinkDelay
io(po,pin,0)
delay blinkDelay
next x
wait
[getMeOutOfHere]
end
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[…]