Hi guys!

Well ! i have some confusions in understanding the following program :

1) what is the purpose and function of this line :

DEBUG " Compass Bearing ", # bearing,13,10

2) Why is the address be written as %11000000?

3) WHat is the function of this line:

i2cread dpin,cpin,%11000000,2,[bearing.Highbyte,bearing.lowbyte]

4) and what this DEC sign means, i have checked the help section, it is no command. Then why it is written there :

lcdout $fe, 1,"BEARING ",DEC BEARING/10


lcdout $fe, $c0,"Bearing ", dec bearing1

Please help me as soon as possible!

and can anyone tell me whats the cost of this CMPS-03?

Can we operate it through I2C on PIC16F84A?