Nuvoton / Mbed OS NuMaker-mbed-PWM0_playnote

Files at this revision

API Documentation at this revision

Comitter:
ccchang
Date:
Tue Oct 17 14:19:36 2017 +0800
Parent:
8:7781ece6964b
Child:
10:080d4254ab42
Commit message:
Support NANO130

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Oct 02 13:41:19 2017 +0800
+++ b/main.cpp	Tue Oct 17 14:19:36 2017 +0800
@@ -22,6 +22,8 @@
 PwmOut pwm0(PC_6); // PWM0_pin
 #elif defined(TARGET_NUMAKER_PFM_M487)
 PwmOut pwm0(PA_5); // PWM0_pin
+#elif defined(TARGET_NUMAKER_PFM_NANO130)
+PwmOut pwm0(PA_12); // PWM0_pin
 #endif