piclist 2002\02\27\143855a >
Thread: LED brightness control thru PIC...
picon face BY : wouter van ooijen & floortje hanneman email (remove spam text)

Now in my code, every time I come around in the main loop, I would
alternate the output between V1 and V3.  Bright LEDs would get set
all the time (both times), and dim LED's would get set only on alternate
cycles -- sort of like a pulse-width dimmer.
Seems OK, assuming that there is no even pattern in your main loop cycle
times. BTW an 872 has PWM hardware....

Wouter van Ooijen
Van Ooijen Technische Informatica: http://www.voti.nl
Jal compiler, Wisp programmer, WLoader bootloader, PICs kopen

http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

<017201c1bf67$a7923c40$0500a8c0@home> 7bit

See also: www.piclist.com/techref/displays.htm?key=led
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) LED brightness control thru PIC...

month overview.

new search...