The OP
Published on 2019-1-18 11:13
Only look at the author
This post is from ARM Technology
Latest reply
https://devzone.nordicsemi.com/f ... eferred-from-main-o This website answers the question...The answer is in the last sentence. In simple terms, you need to add this code in config.h: #ifndef PWM_ENABLED #define PWM_ENABLED 1 #endif #ifndef PWM0_ENABLED #define PWM0_ENABLED 1 #endif #ifndef PWM1_ENABLED #define PWM1_ENABLED 1 #endif #ifndef PWM2_ENABLED #define PWM2_ENABLED 1 #endif You need to define PWM0_ENABLED in config. I am also working on this smart bracelet project recently. If you can, add my QQ 840693710 for communication.
Details
Published on 2019-3-17 03:08
| ||
|
||
tiankai001
Currently offline
|
2
Published on 2019-1-18 11:58
Only look at the author
|
|
|
|
3
Published on 2019-1-18 12:18
Only look at the author
This post is from ARM Technology
| ||
|
||
|
|
This post is from ARM Technology
Comments
The #if instruction is followed by a condition, and the program will not compile unless the condition is met. That condition is more complicated than the if statement in the program. Sometimes, if you accidentally write it wrong, it will cause it to not compile.
Details
Published on 2019-1-18 17:08
| |
|
||
|
5
Published on 2019-1-18 17:08
Only look at the author
This post is from ARM Technology
| ||
|
||
|
6
Published on 2019-3-17 03:08
Only look at the author
This post is from ARM Technology
| ||
|
||
|
在下载中心贡献超过4000份资料
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190