
pwm
Fork of PWM_LED_RGB by
Diff: main.cpp
- Revision:
- 1:4b22168798e5
- Parent:
- 0:c7e6fec3dbe9
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;