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