LED Brightness and Sound

Status
Not open for further replies.

PeterK

New Member
Hi,

Using PIC Basic I generate a variety of sounds/tones. The minimum time is 10 ms.

Anyone suggest to Control LED Brightness via pulses each led on and off, I have 8 LEDs to they appear to be on all of the time, but keeping in mind that I have sound/tones happening at the same time?

thanks

Peter
 
On your led, and start timer.
Then u go to on your sound, after timer overflow, it will generate interrupt. Go go interrupt subroutine and turn off your led.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…