|
From: | Felix Ruess |
Subject: | Re: [Paparazzi-devel] Baro_ms5611 |
Date: | Wed, 9 Jan 2013 19:49:36 +0100 |
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 mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |