NinjaFlight
|
#include <stdbool.h>
#include <stdint.h>
#include <platform.h>
#include "bus_i2c.h"
#include "accgyro.h"
#include "accgyro_bma280.h"
Macros | |
#define | BMA280_ADDRESS 0x18 |
#define | BMA280_ACC_X_LSB 0x02 |
#define | BMA280_PMU_BW 0x10 |
#define | BMA280_PMU_RANGE 0x0F |
Functions | |
bool | bma280Detect (acc_t *accel) |
#define BMA280_ACC_X_LSB 0x02 |
#define BMA280_ADDRESS 0x18 |
#define BMA280_PMU_BW 0x10 |
#define BMA280_PMU_RANGE 0x0F |
bool bma280Detect | ( | acc_t * | accel | ) |