#define NeoPixel
Turns the Neopixel module
on and off
Include in the program
ESPrainbow();
Makes an automatic
rainbow effect
ESPsetPixel (x,r,g,b);
Set each led separately.
After setting pixels call
X= 1 – 12
R(Red)= 0 - 255
G(Green)= 0 - 255
B(Blue)= 0 - 255
ESPpixelShow();
Applies the changes made
with
Optical Flow Module:
Function
Description
Value range
SetPointOpt[0]
Sets the speed of Drone
using the optic flow sensor.
If this value is equal to zero,
the drone remains
stationary in the x-axis.
Positive moves right,
Negative moves left
-15 - +15
SetPointOpt[1]
Sets the speed of Drone
using the optic flow sensor.
If this value is equal to zero,
the drone stops at the y
axis. Positive goes forward,
Negative- goes back
-15 - +15
deltaCalX
X-axis flow data from the
optical flow extender.
Relative to the drone
current speed
deltaCalY
Y-axis flow data from the
optical flow damper.
Relative to the drone
current speed
Multi-Distance Module:
Function
Description
Value range
#define HandControl
#define AntiCollision
Manual control or collision
prevention system
Must choose one or the
other
Distance_Y_1();
Y (+) axis distance data
50-1000
Distance_Y_0();
Y (-) axis distance data
50-1000
Distance_X_1();
X (+) axis distance data
50-1000
Содержание ESP8266
Страница 1: ...ESPcopter SDK 1 0 0 Beta ...
Страница 13: ......
Страница 17: ...5 Control Joystick 1 6 Control Joystick 2 ...
Страница 18: ...7 Auto Flight Route Control Part 8 Auto Flight Route Simulation ...