|stemLib||-||An opaque library reference representing the aStem library which manages the communication with the BrainStem modules.|
|router||-||The IIC address of the module that is to be used to communicate with the CMPS03 compass. This need not be the router.|
|units||-||There are three units available. There are defines for each: aCMPS03_RADIANS, aCMPS03_DEGREES, and aCMPS03_ROTATIONS for measurement in radians, degrees, and complete rotations.|
|pVal||-||This is storage where the result will be stored as a float.|
The CMPS03 compass cannot handle the 1MBit or 400Khz IIC communication the BrainStem defaults to. You need to explicitly set the IIC baud rate to 100kb using the cmdVAL_SET command.