
# This file is executed on every boot (including wake-boot from deepsleep)

#import esp

#esp.osdebug(None)

#import webrepl

#webrepl.start()


def do_connect():
    import network
    wlan = network.WLAN(network.STA_IF)
    wlan.active(True)
    if not wlan.isconnected():
        print('connecting to network...')
        wlan.connect('Phicomm_F227D0', 'a7752660')
        while not wlan.isconnected():
            pass
    print('network config:', wlan.ifconfig())
do_connect()

b7de672cb49101c71d05f42f787a03e6878eec99
<mask token>

def do_connect():
    import network
    wlan = network.WLAN(network.STA_IF)
    wlan.active(True)
    if not wlan.isconnected():
        print('connecting to network...')
        wlan.connect('Phicomm_F227D0', 'a7752660')
        while not wlan.isconnected():
            pass
    print('network config:', wlan.ifconfig())


<mask token>

def do_connect():
    import network
    wlan = network.WLAN(network.STA_IF)
    wlan.active(True)
    if not wlan.isconnected():
        print('connecting to network...')
        wlan.connect('Phicomm_F227D0', 'a7752660')
        while not wlan.isconnected():
            pass
    print('network config:', wlan.ifconfig())


do_connect()


# This file is executed on every boot (including wake-boot from deepsleep)

#import esp

#esp.osdebug(None)

#import webrepl

#webrepl.start()


def do_connect():
    import network
    wlan = network.WLAN(network.STA_IF)
    wlan.active(True)
    if not wlan.isconnected():
        print('connecting to network...')
        wlan.connect('Phicomm_F227D0', 'a7752660')
        while not wlan.isconnected():
            pass
    print('network config:', wlan.ifconfig())
do_connect()
