View Single Post
  #4   Spotlight this post!  
Unread 08-11-2007, 14:38
Phil Mack Phil Mack is offline
Registered User
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: May 2007
Rookie Year: 2007
Location: Maryland
Posts: 30
Phil Mack is a splendid one to beholdPhil Mack is a splendid one to beholdPhil Mack is a splendid one to beholdPhil Mack is a splendid one to beholdPhil Mack is a splendid one to beholdPhil Mack is a splendid one to beholdPhil Mack is a splendid one to behold
Re: Deventeh Digatal - CMPS03 - Robot Compass Module

Quote:
Originally Posted by kE7JLM View Post
I have not experience with programming that port.
Hello,
first, start by using Kevin's implementation of the serial drivers. you can download that at http://www.kevin.org/frc/frc_serial_ports.zip

You can then use the Read_Serial_Port and Write_Serial_Port functions to asynchronously send and receive bytes to either serial port.

Check in the documentation for the converter and the documentation for the compass to find out what bytes to send. If you are still using the emicros device, the documentation is at http://www.emicros.com/useri2c.zip and explains what you need to send to the converter to send a message over the I2C bus. It has complete examples that show exactly what you need to do.

Good luck,
~Phil