Professional Documents
Culture Documents
Hgytgygyuy
Hgytgygyuy
#include <RemoteXY.h>
// RemoteXY configurate
#pragma pack(push, 1)
uint8_t RemoteXY_CONF[] =
{ 255,3,0,0,0,67,0,8,13,4,
5,48,60,14,30,30,0,2,26,31,
2,0,9,6,22,11,0,2,26,31,
31,79,78,0,79,70,70,0,131,1,
7,23,23,8,1,2,31,73,110,100,
105,97,110,0,131,0,14,31,33,8,
2,2,31,76,105,102,101,104,97,99,
107,101,114,0 };
// input variable
int8_t joystick_1_x; // =-100..100 x-coordinate joystick position
int8_t joystick_1_y; // =-100..100 y-coordinate joystick position
uint8_t switch_1; // =1 if switch ON and =0 if OFF
// other variable
uint8_t connect_flag; // =1 if wire connected, else =0
} RemoteXY;
#pragma pack(pop)