Moderator: Mmiscool
memclear
read "WIFIname" ssid
read "WIFIpass" password
read "APname" ssid1
read "APpass" password1
print ssid
print password
print ssid1
print password1
wait
Can you post the exact code you are using?
http://esp8266basic.com
A BASIC interpreter for your ESP
Working now on Autodrop3d. A 3d printer with automatic part ejection system. https://autodrop3d.com
memclear
let ssid = " "
let password = " "
let ssid1 = " "
let password1 = " "
print "Remote WIFI(SSID):"
textbox ssid
print "Remote WIFI PASSWORD:"
textbox password
button "Make AP" [create_ap]
print "<br>"
print "Router WIFI(SSID):"
textbox ssid1
print "Router WIFI PASSWORD:"
textbox password1
print "<br>"
button "Load Default Prog" [RunProg-1]
button "Connect-Router" [Connect-Router]
button "getName" [GetName]
wait
[RunProg-1]
load default
wait
[create_ap]
ap ssid password
[create_ap]
connect ssid1 password1
[GetName]
read "WIFIname" ssid
print ssid
read "WIFIpass" password
print password
read "APname" ssid1
print ssid1
read "APpass" password1
print password1
wait
end
I must not use the let variables in read command ...
I used following
memclear
let ssid = " "
let password = " "
let ssid1 = " "
let password1 = " "
print "Remote WIFI(SSID):"
textbox ssid
print "Remote WIFI PASSWORD:"
textbox password
button "Make AP" [create_ap]
print "<br>"
print "Router WIFI(SSID):"
textbox ssid1
print "Router WIFI PASSWORD:"
textbox password1
print "<br>"
button "Load Default Prog" [RunProg-1]
button "Connect-Router" [Connect-Router]
button "getName" [GetName]
wait
[RunProg-1]
load default
wait
[create_ap]
ap ssid password
[create_ap]
connect ssid1 password1
[GetName]
read "WIFIname" ssid2
print ssid2
read "WIFIpass" password2
print password2
read "APname" ssid12
print ssid12
read "APpass" password12
print password12
wait
end