mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-25 23:46:04 +08:00
f2d2af9f68
also increase freq of periodic to 15Hz, should result in new measurements at 5Hz
21 lines
656 B
XML
21 lines
656 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="baro_bmp" dir="sensors">
|
|
<doc>
|
|
<description>Bosch BMP085 pressure sensor</description>
|
|
<define name="BMP_I2C_DEV" value="i2cX" description="select which i2c peripheral to use (default i2c0)"/>
|
|
<define name="SENSOR_SYNC_SEND" description="flag to transmit the data as it is acquired"/>
|
|
</doc>
|
|
<header>
|
|
<file name="baro_bmp.h"/>
|
|
</header>
|
|
<init fun="baro_bmp_init()"/>
|
|
<periodic fun="baro_bmp_periodic()" freq="15"/>
|
|
<event fun="baro_bmp_event()"/>
|
|
<makefile target="ap">
|
|
<file name="baro_bmp.c"/>
|
|
<file name="bmp085.c" dir="peripherals"/>
|
|
</makefile>
|
|
</module>
|
|
|