View Single Post
  #7   Spotlight this post!  
Unread 28-01-2011, 22:15
StephenNutt StephenNutt is offline
Registered User
FRC #0172 (Falgor)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Falmouth, ME
Posts: 37
StephenNutt is an unknown quantity at this point
Re: I've Got The Magnetic Encoders Working Over SPI

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 View Post
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.
Reply With Quote