34 #include "pprzlink/messages.h"
57 unsigned char cam_ret[1];
72 cam_ret[0] =
mode + zoom * 0x20;
void dc_send_command(uint8_t cmd)
Send Command To Camera.
void dc_periodic(void)
periodic function
void dc_send_shot_position(void)
Send Down the coordinates of where the photo was taken.
Common code for AP and FBW telemetry.
void atmega_i2c_cam_ctrl_event(void)
void atmega_i2c_cam_ctrl_init(void)
void atmega_i2c_cam_ctrl_send(uint8_t cmd)
void atmega_i2c_cam_ctrl_periodic(void)
static uint8_t mode
mode holds the current sonar mode mode = 0 used at high altitude, uses 16 wave patterns mode = 1 used...
API to get/set the generic vehicle states.
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.