restructure: splitting out sensor functions into their own source files
This commit is contained in:
parent
764aff6df0
commit
a6211b4c9d
8 changed files with 184 additions and 70 deletions
18
bmp.c
Normal file
18
bmp.c
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#include "bmp.h"
|
||||
|
||||
uint8_t BMP_RESET[2] = {0x7E, 0xB6};
|
||||
uint8_t BMP_CAL_DATA[21];
|
||||
uint8_t BMP_SETUP[6] = {0x1C, 0x0B, 0x1D, 0x08, 0x1F, 0x0A};
|
||||
uint8_t BMP_START[2] = {0x1B, 0x33};
|
||||
|
||||
double bmp_cal_data_fp[15];
|
||||
|
||||
int getBMPCalData(bmp_cal_data_t *cal) {
|
||||
// TODO: Implement calibration data retrieval
|
||||
return 0;
|
||||
}
|
||||
|
||||
int initBMP(void) {
|
||||
// TODO: Implement BMP initialization
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue