adafruit / Adafruit_CircuitPython_DS3231

Adafruit CircuitPython drivers for the DS3231 realtime clock.
MIT License
21 stars 19 forks source link

Is there a way to use this library with micropython ESP32? #45

Open Denizik12 opened 1 year ago

Denizik12 commented 1 year ago

I have downloaded the library included all the libraries that were needed, but stil it won't work. Now I get this error message that I can't fix. " ImportError: no module named 'pkg_resources' ". The reason I get this error is because the library isn't made for ESP32. In the board.py library I don't see the ESP32 in the list that is why I get that error message. Is there a way to make it work with a ESP32.

tannewt commented 1 year ago

Generally Blinka is used to run CircuitPython libraries on MicroPython. There is a related guide for using Blinka in MP on the Pico.

CircuitPython now supports the ESP32 in 8.0.0 beta too. You could try that as well.