TwoFootBot-arduion/src/wifi/wifi-sg90.h

16 lines
387 B
C
Raw Normal View History

2026-10-12 14:00:30 +00:00
#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