Hello Ross,
Ross>>Dwayne - is your code an example of a hardware pwm? Isn't there a PicBasic command for this? Also, do you know how to use a hardware pwm signal to fade out LEDs?<<
No, my example is not a Hardware PWM. He emailed me with a private message, that he would like to have my code of my software PWM. I told him I would put it on the board when I got home.
Yes, there is a PBP command for this kind of PWM...I just write my own <g>
Yes, I know how to use hardware PWM to fade in/out LED's Since the Hardware PWM's are contiuous without intervention, the chip can be doing other things while it is streaming the pulses. That means a chip with 2 PWM's can operate two fading LED's
Dwayne
Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
Bookmarks