EasyManuals Logo

Freenove ESP32 User Manual

Default Icon
159 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #153 background imageLoading...
Page #153 background image
Need support? support@freenove.com
151
Development
www.freenove.com
Explanation of Communication Protocol Instructions
ACTION_UP_DOWN
Control the robot to stand up or lie down with one parameter. When lying down, the servos will be unloaded
to reduce battery power consumption
App command
Action
A#0#\n
Switch between standing up and lying down
A#1#\n
Stand up
A#2#\n
Lie down
No return,
ACTION_BODY_HEIGHT
Set the robot dog's body to any height. This function has not been added to the app yet, but the robot dog
can receive this command.
App command
Action
B#50#\n
Make the robot stand up and set the height to 50 cm.
ACTION_RGB
Set the running mode and color of the LEDs on the robot dog.
App command
Action
C#mode#red#green#blue#\n
Set the RGB LEDs to mode mode and specify the color values of
the three channels0-255
C#1#255#0#0#\n
The value range and meaning of
mode, among which, in modes 2 and
5, the color cannot be changed. The
parameters can be any value in the
range of 0-255.
#define LED_MODE_OFF 0
#define LED_MODE_RGB 1
#define LED_MODE_FOLLOWING 2
#define LED_MODE_BLINK 3
#define LED_MODE_BREATHING 4
#define LED_MODE_RAINBOW 5
Introduction to mode function
Macro Definition
Parameter
Description
LED_MODE_OFF
0
Turn OFF LEDs
LED_MODE_RGB
1
Static LEDs display. Color and brightness can be adjusted through
the parameters.
LED_MODE_FOLLOWING
2
The LEDs alternately display four colors of red, green, yellow and
blue.
LED_MODE_BLINK
3
LEDs blink. Color and brightness can be adjusted through the
parameters.
LED_MODE_BREATHING
4
LEDs ON and OFF like breathing. Color and brightness can be
adjusted through the parameters.
LED_MODE_RAINBOW
5
LEDs show the color of rainbow and change slowly.

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Freenove ESP32 and is the answer not in the manual?

Freenove ESP32 Specifications

General IconGeneral
BrandFreenove
ModelESP32
CategoryComputer Hardware
LanguageEnglish

Related product manuals