-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Circuitpython Support? #1
Comments
Hi,
1. I could not get MD to work either. Occasionally I would get a value other than zero but I think it was spurious. The possibilities seem to be: 1. Maybe I did not understand something in the documentation 2. MD doesnt work on the device, 3 Maybe MD only works in a goldilocks zone (not too strong / not too weak). I chose to ignore the problem.
2. I usually write things for Micropython. I think this email might reply to a circuitpython list but I usually to circuitpython a bit verbose and , for me anyway, a bit counter-intuitive in approach compared to Micropython
Anyway I was criticised for using Descriptors on the Micropython forum where it was suggest they were not the best Micropython approach where normal methods are preferred. They said Descriptors were more commonly used in Cirtcuitpython. I said I would rewrite the code with that in mind but to be honest I never got round to it but I must confess I thought Descriptors had a certain elegance.
https://forum.micropython.org/viewtopic.php?f=2&t=10843&uid=8098&unwatch=topic&sid=a49783f21c8b78751fbbef5349ef738a&confirm_key=3HXE5DPU6A
3. I am happy for anyone to use my code anyway they like but I would appreciate a comment referencing my code. It feels nice when some one references your code.
Stuart Galloway
email: ***@***.***
Phone: 0421560031
…On Mon, Nov 15, 2021, at 06:41, danthegoodman1 wrote:
I am very interested in getting Circuitpython supported for the AS5600, and have been using this as a starting point.
Initially I had something kind of working, but it would always give 0 for the `.MD` so I doubted it was working properly.
Now I've switched it around and can't seem to read data into the buffer without errors 🤷
The version of this repo I've been working on is found https://github.com/danthegoodman1/circuitPythonAS5600 if you want to take a peek, but would love to add support here. Mostly I've been trying to convert the i2c functionality over to the Circuitpython flavor. Using a RPi Pico. Circuitpython 7
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#1>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABKDJZNXSXLHYVQKWUNBQ7TUMAGFNANCNFSM5IAGJQRQ>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Noted that it was based on your work. I think the issue might be writing before reading is needed. Maybe I don't have that... |
Merged
I think the issue with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am very interested in getting Circuitpython supported for the AS5600, and have been using this as a starting point.
Initially I had something kind of working, but it would always give 0 for the
.MD
so I doubted it was working properly.Now I've switched it around and can't seem to read data into the buffer without errors 🤷
The version of this repo I've been working on is found https://github.com/danthegoodman1/circuitPythonAS5600 if you want to take a peek, but would love to add support here. Mostly I've been trying to convert the i2c functionality over to the Circuitpython flavor. Using a RPi Pico. Circuitpython 7
The text was updated successfully, but these errors were encountered: