mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 17:31:13 +03:00
hmc5883l: use int16_t as coordinate type throughout
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@ -31,7 +31,7 @@ main(int argc, char **argv)
|
||||
{
|
||||
//! [Interesting]
|
||||
upm::Hmc5883l* compass = new upm::Hmc5883l(0);
|
||||
int *pos;
|
||||
int16_t *pos;
|
||||
|
||||
compass->set_declination(0.2749); // Set your declination from true north in radians
|
||||
|
||||
|
Reference in New Issue
Block a user