Chengdu Ebyte Electronic Technology Co.,Ltd.
E32-900MBL-01 User Manua
l
Copyright ©2012–2019
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
7
Switch
workspace
The global macro definition and file path are defined in the C/C++ Compiler option to
distinguish the driver files of different modules. When switching workspaces, different macro
definitions will be used to switch the driver files of different modules
Changed the Exclude from build property of Drivers/Ebyte/RF, that is, select the target
module driver folder to participate in the compilation process. Changed the Additional
include in the project C/C++ Compiler, that is, specify the module driver file path. The
Defined symbols in the project C/C++ Compiler have been changed, that is, global macro
definitions have been defined to help configure the module driver properties.
2.3 Main function
The main function entry is in main.c. The demonstration function process is simplified as follows:
Item
Explanation
1
Key Function
If a button is pressed, the command data will be sent wirelessly. In essence, it means
sending a specific string "ping" and expecting to receive a response "pong"