PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : CMPS10 E-I2C Example v1.1 for C-Control I V2.0



Windt H.J.
14.06.2011, 22:37
This CCBasic example, with the C-Control I Unit M2.0 mounted on the C-Control I Application Board 2.0, will read the CMPS10 (http://www.robot-electronics.co.uk/htm/cmps10doc.htm) 16 bit bearing, 8 bit pitch and roll and display the data on the LCD as B = xxx,x° / P = xx° / R = xx°.
Communication with the CMPS10 (http://www.robot-electronics.co.uk/htm/cmps10i2c.htm) is via an emulated I2C bus using my E-I2C (v2.0) subroutines.
The emulated SDA line is via port 4.
The emulated SCL line is via port 5.

Greetings,
H.J. Windt

Windt H.J.
09.11.2011, 12:11
Here is an updated version of the CMPS10 Example (v1.2) with updated E-I2C routines (v2.1).