Open Zzx-J opened 1 year ago
It looks like MicroPython implements struct.unpack_from()
to only take positional arguments: https://docs.micropython.org/en/latest/library/struct.html#struct.unpack_from
Uses of it in this library will need to provide it positionally only in order to keep compatibility. If you're up for submitting a pull request to fix it, we'd be happy to take a look!
I'm in the same case, I adapted the CircuitPython Library to Micropython in this repo
Some things seems to work (initialisation, can request and read the BNO ID, and many things) but I lack debugging skills to finish the project (I'm struggling for 2 weeks). Obviously I miss something.
If one can help...
I can take a look this week
Thank you Alec,
I believe the micropython library for BNO085 is working correctly now. Nevertheless, I might need testers to check if everything is working fine.
http://github.com/dobodu/Adafruit_MicroPython_BNO08x
Cheers De : "Alec Delaney" A : "adafruit/Adafruit_CircuitPython_BNO08x" ,"dobodu" ,"Comment" Envoyé: lundi 12 Juin 2023 15:05 Objet : Re: [adafruit/Adafruit_CircuitPython_BNO08x] Cannot run on top of micropython (Issue #43)
I can take a look this week
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
Hi I just followed the instruction on https://learn.adafruit.com/circuitpython-libraries-on-micropython-using-the-raspberry-pi-pico/overview to run Circuitpython libraries on top of Micropython on Raspberry Pi Pico W.
I have installed all the libraries needed according to the instruction, when running the example code the IDE pops up with the following issue:
The code I used:
I have tried the bme280 library provided by the instruction and it works, which I believe proved that I have correctly installed the library. The reason that I need to use micropython is that I want to use the multicore function.
Anybody please help.