Dushyant Singh
/
PWM_LED_RGB
pwm
Fork of PWM_LED_RGB by
Revision 1:4b22168798e5, committed 2015-06-17
- 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 |
diff -r c7e6fec3dbe9 -r 4b22168798e5 main.cpp --- 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;