Quote:
Originally Posted by kE7JLM
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