initial commit

This commit is contained in:
2024-04-12 00:32:45 +08:00
commit f618a56836
86 changed files with 44937 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
#include "by_bmi088.h"

View File

@@ -0,0 +1,14 @@
#ifndef _BY_BMI088_H__
#define _BY_BMI088_H__
#include <stdint.h>
#define BMI088_GYRO_ADDR (0x68)
#define BMI088_ACC_ADDR (0x18)
void by_bmi088_init(void);
void by_bmi088_read_reg(uint8_t addr, uint8_t* buf, uint8_t len);
void by_bmi088_write_reg(uint8_t addr, uint8_t* buf, uint8_t len);
#endif