pwm

Dependencies:   mbed

Fork of PWM_LED_RGB by FRDM-K64F Code Share

Files at this revision

API Documentation at this revision

Comitter:
dks4885
Date:
Wed Jun 17 10:09:34 2015 +0000
Parent:
0:c7e6fec3dbe9
Commit message:
new PWM

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Aug 07 12:20:10 2014 +0000
+++ b/main.cpp	Wed Jun 17 10:09:34 2015 +0000
@@ -3,7 +3,7 @@
 
 //DigitalOut RLED(PTB22);
 //DigitalOut GLED(PTE26);
-DigitalOut BLED(PTB21);
+DigitalOut BLED(LED1);
 float period=0.01;//Config. Period of PWM
 float t_on;
 float t_off;