16 lines
387 B
C
16 lines
387 B
C
|
|
#pragma once
|
||
|
|
#ifndef WIFI_SG90_H
|
||
|
|
#define WIFI_SG90_H
|
||
|
|
|
||
|
|
#include "../imu/imu.h"
|
||
|
|
|
||
|
|
void sg90();
|
||
|
|
void wifi_setup();
|
||
|
|
|
||
|
|
// TCP IMU telemetry: 22-byte frame: A5 5A, then 9 signed big-endian int16
|
||
|
|
// values (yaw/pitch/roll in centidegrees, then ax/ay/az/gx/gy/gz), then
|
||
|
|
// CRC-16/CCITT-FALSE over the first 20 bytes. Text command replies remain lines.
|
||
|
|
void sendLineData(YPR a, RawData r);
|
||
|
|
|
||
|
|
#endif
|