Line: 1 to 1 | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Added: | |||||||||||||||||||
> > |
Connecting to WiFiExercise 1:Verify the available access points before the activation of the ESP32 WiFi.Study the MicroPython documentation on the WLAN class ![]()
![]() Exercise 2:
![]() Exercise 3:Write a module: wifi.py which encapsulates the functionality of exercise 2. Upload the module to the /lib folder on the ESP32. The code connecting to the ESP32 will then be as simple as this: from wifi importconnect connect() ![]() Exercise 3:Add a function returning the ESP32's IP address. Read the current UTC time from the network using NTP. Set the real time clock on the ESP32. Provide a function that converts UTC into your local time. --![]() Comments
|