Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

Latest threads

New Articles From Microcontroller Tips

Back
Top