Definition:
#include <aCompass.tea>
| char aCompass_ReadChar( | ); |
Return Value:
The 8-bit raw reading from the compass in increments of approximately 1.4 degrees.
Description:
This routine takes a reading from a Devantech Compass Module and reports the current heading with approximately 1.4 degree resolution. The value ranges from 0 to 255.
Example:
charVal = aCompass_ReadChar();
This would take a reading and set charVal equal to the current compass heading.
Related:
version: 1.0, build 80506
© Copyright 1994-2008 Acroname, Inc., Boulder, Colorado. All rights reserved.