Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 27th May 2004, 08:34 AM   (permalink)
Default LED Brightness and Sound

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
PeterK is offline  
Old 27th May 2004, 08:40 AM   (permalink)
Default

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.
StupidDum is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 06:10 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker