-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Some examples marked as AS5600 use the AS5600L #57
Comments
Well noticed, Will not fix this as it is easy adapted by the user. |
Agree with not fixing but it might be nice to add a note on the main readme page to attent users to the fact that some examples use the 5600L. I tend to think I am fairly smart but it still to me a few minutes to notice this ;-) |
Fair enough, |
Added comments on top of almost all examples: // Examples may use AS5600 or AS5600L devices.
// Check if your sensor matches the one used in the example.
// Optionally adjust the code. |
PR created |
Build successful as expected as there were no code changes. Again, thanks for pointing out the issue, |
While testing the AS5600 example, I could not get this to work.
Checking the I2C/Wire data with my scope showed that the slave address used was 0x40 - this is due to as5600 object being created from the AS5600L class instead of the AS5600.
I noticed this is also done in the following examples:
AS5600_angular_speed, AS5600_demo_ESP32, AS5600_demo_RP2040, AS5600_demo_status, AS5600_demo_STM32, AS5600_I2C_frequency and AS5600_resetCumulativeCounter examples.
The text was updated successfully, but these errors were encountered: