![](/media/cache/group/logo_thTzkVQ.jpg.50x50_q85.jpg)
NuMaker PWM0 play notes (to speaker)
Diff: main.cpp
- Revision:
- 8:7781ece6964b
- Parent:
- 5:45158b37892c
- Child:
- 9:444cbd658b17
diff -r 5bc4290bbf06 -r 7781ece6964b main.cpp --- a/main.cpp Fri Sep 29 17:46:46 2017 +0800 +++ b/main.cpp Mon Oct 02 13:41:19 2017 +0800 @@ -20,6 +20,8 @@ PwmOut pwm0(PF_9); // PWM0 pin #elif defined(TARGET_NUMAKER_PFM_M453) PwmOut pwm0(PC_6); // PWM0_pin +#elif defined(TARGET_NUMAKER_PFM_M487) +PwmOut pwm0(PA_5); // PWM0_pin #endif