Skip to content

Unfunctional code while using the library #4

@T4psi

Description

@T4psi

Hi!

Recently I was trying to connect to several AS5601 ICs with I2C communication using your library for Arduino. Unfortunatelly, I noticed that after uploading the sample code, nothing would appear on the serial monitor, not even the initial "Angle Measurement with AS5601" text. I have tried the same code excluding the lines that depends on the AS5601 library (so basically simple serial prints remained) and everything works as expected. I tried to upload the code to an MKRZERO and also to a DUE, but neither of them would work. What is more, it seems like the sample code bricks the MKRZERO as Windows wouldn't recognize normally the board after the code was uploded (there is no USB connection sound). I also tried if the ICs work on their default encoder pins, and they do give proper signal.
Do you have any idea what could go wrong?

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions