Hosting the full Olsen database on the HUZZAH32 is troublesome, and updating it, even more so. Especially around watching for updates and daylight saving changes. Once it became clear that I wasn’t going to be able to run the full, comprehensive Python stack I had been depending on, it was necessary to find some more pragmatic approaches to integrating with Anytime. This allowed me to take advantage of the Exixe Arduino library which, coupled with various NTP examples, allowed me to get my clock up and running very quickly. Instead–on the advice of a colleague–I returned to the Arduino port for the the HUZZAH32. Worse still, I was unable to get the crucial pytz library into an image. Only some Python libraries can be used and it’s often necessary to rebuild the MicroPython distribution to add those libraries. I had originally planned to run MicroPython on the HUZZAH32 to allow me to take advantage of the Python Anytime client, but it quickly became apparent this wasn’t going to work: MicroPython is not so much a fully-featured Python (libraries included), as a basic language port.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |