#include "i2c_compass.h"
#include "coridium.h"
#include "cor_hwlib.h"
#include "cor_wrflash.h"
#include "string.h"
#include "printf.h"
Go to the source code of this file.
Functions | |
int | getCompassRegisterValue (int i2c_reg) |
int | initializeCompass (int scl_pin, int sda_pin) |
int | getCompassHeadingByte () |
int | getCompassHeadingWord () |
int | getCompassSoftwareVersion () |
int getCompassHeadingByte | ( | ) |
Definition at line 24 of file i2c_compass.c.
int getCompassHeadingWord | ( | ) |
Definition at line 30 of file i2c_compass.c.
int getCompassRegisterValue | ( | int | i2c_reg | ) |
Definition at line 46 of file i2c_compass.c.
int getCompassSoftwareVersion | ( | ) |
Definition at line 36 of file i2c_compass.c.
int initializeCompass | ( | int | scl_pin, | |
int | sda_pin | |||
) |
Definition at line 13 of file i2c_compass.c.