Working

Dependencies:   mbed

Fork of led by Plamen Totev

Committer:
umairaftab
Date:
Tue Apr 08 02:18:28 2014 +0000
Revision:
1:b074ac22294f
working;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
umairaftab 1:b074ac22294f 1 extern PwmOut led_blue;
umairaftab 1:b074ac22294f 2 extern PwmOut led_green;
umairaftab 1:b074ac22294f 3 extern PwmOut led_red;
umairaftab 1:b074ac22294f 4 //unsigned int led_period = 1000;
umairaftab 1:b074ac22294f 5 //unsigned int led_pulsewidth = 50;
umairaftab 1:b074ac22294f 6 //unsigned int led_step =10;
umairaftab 1:b074ac22294f 7 //unsigned int pwm_red_led(int brightness);
umairaftab 1:b074ac22294f 8 //unsigned int pwm_blue_led(int brightness);
umairaftab 1:b074ac22294f 9 //unsigned int pwm_green_led(int brightness);
umairaftab 1:b074ac22294f 10 extern unsigned int led_red_pulsewidth;
umairaftab 1:b074ac22294f 11 extern unsigned int led_green_pulsewidth;
umairaftab 1:b074ac22294f 12 extern unsigned int led_blue_pulsewidth;
umairaftab 1:b074ac22294f 13 extern unsigned int led_period ;
umairaftab 1:b074ac22294f 14 extern unsigned int led_pulsewidth;
umairaftab 1:b074ac22294f 15 extern unsigned int led_step;
umairaftab 1:b074ac22294f 16
umairaftab 1:b074ac22294f 17
umairaftab 1:b074ac22294f 18 unsigned int pwm_blue_led(int brightness );
umairaftab 1:b074ac22294f 19 unsigned int pwm_green_led(int brightness);
umairaftab 1:b074ac22294f 20 unsigned int pwm_red_led(int brightness);
umairaftab 1:b074ac22294f 21 void led_test(void);