Hi Seb,
Finally some 'real' interesting work....
Sebastien Lelong wrote:
>> I wonder which observation has lead to the conclusion that this pragma does
>> not work.
>
> Well, the LED does not "pwm"... :)
Several reasons why a LED on RB3 may not PWM:
1. You did not disable LVP, thus RB3 is fixed to input mode
2. You use a bootloader, thus the config bits are not re-programmed
and 'pragma target CCP1MUX RB0' doesn't have effect!
I happen to have a board with a 16F88 and LEDs on RB0 and RB3, and
RB3 did not pwm either on that board because of reason 2!!! After I
reprogrammed the 16F88 directly it worked!
But reason 1 is certainly important.
Me thinks both dependencies should be documented with the PWM libs.
I'll post a reply in Jallist to phan2170, whoever he is called.
Regards, Rob.
--
Rob Hamerling, Vianen, NL (http://www.robh.nl/)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---