Hello all, I'm putting together a project that involves a MatrixPortal M4 board pulling data from my Adafruit IO account (which works fine) but I am hitting a wall trying to set the clock on the board from an online time sync. The examples in the Learn section show how to set the time from a Network Time Service using:
Code: Select all
NETWORK = Network(status_neopixel=board.NEOPIXEL, debug=False)
NETWORK.connect()
to connect and then
Code: Select all
NETWORK.fetch_data('http://www.geoplugin.net/json.gp',
json_path=[['geoplugin_latitude'],
['geoplugin_longitude']]))
But I can't run this in the same program that is accessing IO, because then I have two things using the wifi and I get an "ESP_BUSY in use" error.
The Time Services docs makes it sound like the GET functions aren't supported in CircuitPython. Any suggestions?