better main
This commit is contained in:
parent
fdfd1d27fc
commit
4628f1f76b
@ -83,4 +83,4 @@ type in micropython interactive :
|
|||||||
# reboot with onboard reset button
|
# reboot with onboard reset button
|
||||||
|
|
||||||
|
|
||||||
reboot
|
reboot
|
||||||
|
2
main.py
2
main.py
@ -3,6 +3,6 @@ import netconf
|
|||||||
|
|
||||||
ip = do_connect(netconf.ssid, netconf.password)
|
ip = do_connect(netconf.ssid, netconf.password)
|
||||||
print(ip)
|
print(ip)
|
||||||
# netconf ('192.168.2.140', '255.255.255.0', '192.168.2.254', '1.1.1.1')
|
|
||||||
from maxserver import main
|
from maxserver import main
|
||||||
main(ip)
|
main(ip)
|
||||||
|
Loading…
Reference in New Issue
Block a user