'*****************************
'*     CMPS09 example code   *
'*      using picaxe 18x     *
'*                           * 
'*****************************

i2cslave $C0,i2cfast,i2cbyte	' Join i2c with CMPS09

main:	i2cread 0,(b0)		' Software revision
	i2cread 2,(b3,b2)		' Angle high byte and low byte
	debug				' show debug window
	goto main

