esp.motorFR_Analog();
0 - 255
The front right operates the
engine at the desired
power.
esp.motorRL_Analog();
0 - 255
Operates the rear left
engine at the desired
power.
esp.motorRR_Analog();
0 - 255
The rear right operates the
engine at the desired
power.
ESPcopter Control Table:
The control method of the ESPcopter can be changed using the definitions in this list. Only one
definition should be activated from this list.
Function
Description
Control Device
#define REMOTE_XY_REMOTE
Control with RemoteXY
Phone - Tablet
#define BLYNK
Control with BLYNK
Phone - Tablet
#define PROCESSING_REMOTE
Control with processing
Computer
#define MQTT
Control with MQTT
Computer
#define REMOTE_WEB_APP
Web application control
Phone - Tablet
#define PPM_REMOTE
Control with PPM receiver
Standard RC Remote
ESPcopter Global Variable Definitions:
Function
Description
Value Range
setTrimRoll();
Trim on the X-axis.
-500 - 500
setTrimPitch();
Trim on the Y-axis.
-500 - 500
setTrimYaw();
Trim on the Yaw..
-500 - 500
setArmControl();
Motor Enable
false - true
setFlyMode_1();
Z-axis stabilization on-off
false - true
setFlyMode_2();
Height fixing on-off
false - true
setFlyMode_3();
Optical flow module with
motion stabilization
false - true
landing();
Landing
false - true
setMotorMax();
Set maximum motor power
600-900
getRX_throttle();
Motor power rating
0 – (motorMax)
getRX_roll();
The value in the X-axis
-100 : + 100
getRX_pitch();
The value in the Y-axis
-100 : + 100