Topic: two users
Hi
This is my sketch setting
How do i add the correct command that will work with two users
Thanks for the help
// RemoteXY select connection mode and include library
#define REMOTEXY_MODE__ESP8266WIFI_LIB_POINT
#include <ESP8266WiFi.h>
#include <RemoteXY.h>
// RemoteXY connection settings
#define REMOTEXY_WIFI_SSID "RAMPA1"
#define REMOTEXY_WIFI_PASSWORD "12345678"
#define REMOTEXY_SERVER_PORT 8080
// RemoteXY configurate
#pragma pack(push, 1)
uint8_t RemoteXY_CONF[] =
{ 255,4,0,0,0,114,0,11,16,1,
1,0,16,2,33,33,2,31,226,172,
134,239,184,143,215,148,215,168,215,158,
215,148,226,172,134,239,184,143,0,1,
0,2,37,26,26,2,31,226,172,133,
239,184,143,215,164,215,170,215,153,215,
151,215,148,0,1,0,36,37,26,26,
2,31,215,166,215,153,215,147,215,149,
215,147,32,226,158,161,239,184,143,0,
1,0,17,64,31,31,2,31,226,172,
135,239,184,143,215,148,215,149,215,168,
215,147,215,148,226,172,135,239,184,143,
0 };
// this structure defines all the variables and events of your control interface
struct {
// input variables
uint8_t button_1; // =1 if button pressed, else =0
uint8_t button_2; // =1 if button pressed, else =0
uint8_t button_3; // =1 if button pressed, else =0
uint8_t button_4; // =1 if button pressed, else =0
// other variable
uint8_t connect_flag; // =1 if wire connected, else =0
} RemoteXY;
#pragma pack(pop)