Temp checkin

This commit is contained in:
Lennart Eriksson 2016-11-28 08:54:46 +01:00
parent e559cbc9fb
commit 3200feaa26
3 changed files with 28 additions and 3 deletions

View File

@ -42,9 +42,9 @@ typedef struct gps_data_t {
* INFORMATION: Contains the whole ping sensor data message *
***********************************************************************/
typedef struct ping_data_t {
uint8_t header;
uint16_t distance_mm;
uint8_t crc;
uint8_t header __attribute__((packed));
uint16_t distance_mm __attribute__((packed));
uint8_t crc __attribute__((packed));
}ping_data_t;
/* An instance of the GPS data read from Arduino Com */

View File

@ -0,0 +1,11 @@
#ifndef DRIVERS_COMPASS_H
#define DRIVERS_COMPASS_H
bool initialize_compass();
void calibrate_compass();
#endif //DRIVERS_COMPASS_H

View File

@ -0,0 +1,14 @@
#include "drivers/compass.h"
#include "drivers/arduino_com.h"
bool initialize_compass()
{
}
void calibrate_compass()
{
}