mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-30 03:27:33 +08:00
Digital Camera Triggering Control via LED and I2C-AVR
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<!DOCTYPE module SYSTEM "module.dtd">
|
||||
|
||||
<module name="atmega_i2c_cam_ctrl" dir="digital_cam">
|
||||
<header>
|
||||
<file name="atmega_i2c_cam_ctrl.h"/>
|
||||
</header>
|
||||
|
||||
<init fun="atmega_i2c_cam_ctrl_init()"/>
|
||||
<periodic fun="atmega_i2c_cam_ctrl_periodic()" autorun="TRUE" freq="4" />
|
||||
<event fun="atmega_i2c_cam_ctrl_event()"/>
|
||||
|
||||
<datalink message="PAYLOAD_COMMAND" fun="ParseCameraCommand()" />
|
||||
|
||||
<makefile target="ap">
|
||||
<file name="atmega_i2c_cam_ctrl.c"/>
|
||||
<file name="dc.c"/>
|
||||
<flag name="ATMEGA_I2C_DEVICE" value="i2c0"/>
|
||||
<flag name="USE_I2C0" value="1"/>
|
||||
<flag name="SENSOR_SYNC_SEND" value="1" />
|
||||
</makefile>
|
||||
|
||||
<makefile target="sim">
|
||||
<file name="sim_i2c_cam_ctrl.c"/>
|
||||
<file name="dc.c"/>
|
||||
<flag name="SENSOR_SYNC_SEND" value="1" />
|
||||
</makefile>
|
||||
|
||||
</module>
|
||||
|
||||
Reference in New Issue
Block a user