Do you still have this code? I am interested in using the encoder this year and would like to use SPI.
Thanks
Steve
Quote:
Originally Posted by sparrowkc
I just spent a day and half trying to figure out how to access the AS5030 magnetic encoders included in the kit over SPI. I finaly got it working and figured I could save others some time by posting my code here. As far as I can tell, there isn't an example for this out there anywhere. This isn't official, this is just the result of one person's research and tinkering, so don't trust it too far.
http://www.mediafire.com/file/nmtgyo...EncoderCode.vi
Please tell me what I did wrong and what could be improved.
|