mirror of
https://github.com/TheTesla/HengLongUDPclient.git
synced 2025-06-30 04:16:52 +02:00
USAGE prompt; client number, client select, server exit
This commit is contained in:
parent
8eabc532ed
commit
fe0747336c
8 changed files with 109 additions and 70 deletions
|
@ -2,12 +2,16 @@
|
|||
#define HENGLONG_H_INCLUDED
|
||||
|
||||
#include <linux/input.h>
|
||||
#include <stdio.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
|
||||
typedef struct henglong_t
|
||||
{
|
||||
int velocity, direction;
|
||||
int ignation, mg, fire, turretelev, turret_left, turret_right, recoil;
|
||||
uint8_t clisel;
|
||||
unsigned char servoff;
|
||||
} henglong_t;
|
||||
|
||||
int CRC(int data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue