When I build my project. It give me a lot of problem and cannot built it.
Hope someone can tell where am I wrong. Thanks.
Can you type out the build error messages you got ?
Attachment is the list of errors.
The reason you get those error messages is because a specific preprocessor macro isn't defined. You can go to your project's settings, navigate to C/C++ Build > Settings > C Compiler > Preprocessor, and add __CYU3P_TX__=1 to the defined symbols list.
Also, you should not include cyu3tx.h in ledtest.c.