Hi again,

I'll try to test this, but have very few time these days :(

Cheers,
Seb


>
> Rob Hamerling wrote:
>
> > I was experimenting with your pwm sample, modified for the 18f2455. I
> > have leds connected to both cpp1 and ccp2 (just a 'lucky' co-incidence)
> > and wanted to see the fading of both leds.
>
> Regardless the issue with the pwm libs I have an additional remark.
> A comment in your sample says that when turning of pwm the LED lights at
> max. In the datasheet of the 18f2455 which I'm using on my test-board I
> found (on page 146):
>
>  "Clearing the CCP2CON register will force the RB3 or RC1 (...) to the
>   default low level. This is not the PORTB or PORTC I/O data latch."
>
> With some experimenting with the mentioned PIC I found that after
> pwm_off() the LEDs light full up (only) when the pin has been set (= on)
> explicitly (before initializing pwm). When I reset the pin (= off) the
> LEDs stay off after pwm_off().
> Maybe you could repeat this test on your own board (and change the text
> if needed).
>
> Regards, Rob.
>
> --
> Rob Hamerling, Vianen, NL (http://www.robh.nl/)
>
> >
>


-- 
Sébastien Lelong
http://www.sirloon.net
http://sirbot.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to