[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Paparazzi-devel] Baro_ms5611
From: |
Árni Þorvaldsson |
Subject: |
[Paparazzi-devel] Baro_ms5611 |
Date: |
Wed, 9 Jan 2013 10:21:19 +0000 |
hello all
I am trying to get sensors to work through I2C port on Tiny 2.11. I already got
the airspeed ets sensor to work properly but now I am trying to add Baro MS5611
and I am not receiving any messages from him.
the wiring is:
VDD-5V
GND-GND
SDI/SDA-SDA
SCLK-SCL
In the airframe file I insert baro_ms5611_i2c module
At first I got an error so in ap_downlink.h I inserted this:
#ifdef USE_BARO_MS5611_I2C
#include "baro_MS5611_i2c.h"
#define PERIODIC_SEND_BARO_MS5611_I2C(_chan)
DOWNLINK_SEND_BARO_MS5611_I2C(_chan, &baro_MS5611_I2C_pressure,
&baro_MS5611_I2C_temp, &baro_MS5511_I2C_z)
#else
#define PERIODIC_SEND_BARO_MS5611_I2C(_chan) {}
#endif
Is there anything I am missing. The address is not the same as the airspeed
sensor so it should be fine.
best regards
Arni Th
- [Paparazzi-devel] Baro_ms5611,
Árni Þorvaldsson <=