View Single Post
  #1   Spotlight this post!  
Unread 08-02-2009, 10:16
oddjob oddjob is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Earth
Posts: 118
oddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to behold
HiTechnic compass - reading 65535?

Is this how to use the HiTechnic compass?

Code:
  HiTechnicCompass *m_compass;
  float CompassAngle;

....

  m_compass = new HiTechnicCompass(4); // slot 4

....

  CompassAngle = m_compass->GetAngle();
The CompassAngle readings are always 65535.0. We checked the cable continuity from the I2C connector on the sidecar to the compass module and it seems ok. See anything wrong?
Reply With Quote