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 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 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.
Geändert von Windt H.J. (18.04.2014 um 19:15 Uhr)
Here is an updated version of the CMPS10 Example (v1.2) with updated E-I2C routines (v2.1).