Ok here is a little more information. I can't seem to get the mobile app to connect to the device.
I did the simple little example but the QR code on the bottom of the source download page gives me the error: Board not connected to the could server.
I compiled and loaded this code to my Uno R4 Wifi.
As that was running I tried to scan the QR for the connection but get the above error message.
/*
-- testdeviceID --
To compile this code using RemoteXY library 4.1.4 or later version
download by link http://remotexy.com/en/library/
To connect using RemoteXY mobile app by link http://remotexy.com/en/download/
- for ANDROID 4.16.02 or later version;
- for iOS 1.13.1 or later version;
To interact with the GUI, please refer to the manual:
https://remotexy.com/ru/help/code/interaction/
This source code was automatically generated by the RemoteXY editor and
is an example for the RemoteXY library.
Licensed under the MIT License. See the LICENSE file in the RemoteXY library
root (https://github.com/RemoteXY/RemoteXY-Arduino-library) for full license
details.
*/
//////////////////////////////////////////////
// RemoteXY include library //
//////////////////////////////////////////////
// you can enable debug logging to Serial at 115200
//#define REMOTEXY__DEBUGLOG
// RemoteXY select connection mode and include library
#define REMOTEXY_MODE__WIFI_CLOUD
#include <WiFiS3.h>
// RemoteXY connection settings
#define REMOTEXY_WIFI_SSID "ssid"
#define REMOTEXY_WIFI_PASSWORD "pwd"
#define REMOTEXY_CLOUD_SERVER "cloud.remotexy.com"
#define REMOTEXY_CLOUD_PORT 6376
#define REMOTEXY_CLOUD_TOKEN "xxxxxxxxxxxxxxxxxxxxxxx"
#define REMOTEXY_ACCESS_PASSWORD "12345"
#include <RemoteXY.h>
// RemoteXY GUI configuration
#pragma pack(push, 1)
uint8_t RemoteXY_CONF[] = // 52 bytes
{ 254,1,0,0,0,1,0,0,0,41,0,20,0,0,0,116,101,115,116,100,
101,118,105,99,101,73,68,0,31,1,106,200,1,1,2,0,1,44,63,24,
24,0,2,31,0,193,75,171,20,20,2,1 };
// this structure defines all the variables and events of your control interface
struct {
// input variables
uint8_t button_01; // =1 if button pressed, else =0, from 0 to 1
// complex variables
RemoteXYType_RealTime realTime_01; // use .getTimeStamp(), .getTime()
} RemoteXY;
#pragma pack(pop)
/////////////////////////////////////////////
// END RemoteXY include //
/////////////////////////////////////////////
#define PIN_BUTTON_01 13
void setup()
{
RemoteXY_Init ();
pinMode (PIN_BUTTON_01, OUTPUT);
// TODO you setup code
}
void loop()
{
RemoteXY_Handler ();
digitalWrite(PIN_BUTTON_01, (RemoteXY.button_01==0)?LOW:HIGH);
// TODO you loop code
// use the RemoteXY structure for data transfer
// do not call delay(), use instead RemoteXY_delay()
}
1. Download the source code for board, open it in the Arduino IDE.
I did this.
2. Install the RemoteXY library for Arduino IDE.
I did this
3. Compile the source code and upload it to the board using the Arduino IDE.
I did this
4. Install the mobile app RemoteXY to your phone or tablet.
Done
5. Connect to board using mobile app.