Nucleo stm32 F429ZI MQTT

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Posts: 10
Joined: Wed May 06, 2020 1:54 pm

Re: Nucleo stm32 F429ZI MQTT

Post by greg161 » Fri May 15, 2020 5:43 pm

So it is possible. But small modification of is necessary. Last lines need to be changed from WiFi to LAN.
From this:

Code: Select all

for i in (network.AP_IF, network.STA_IF):
        wlan = network.WLAN(i)
            print("Telnet server started on {}:{}".format(wlan.ifconfig()[0], port))
to this:

Code: Select all

    eth = network.LAN()
        print("Telnet server started on {}:{}".format(eth.ifconfig()[0], port))

Post Reply