> > > Finally some 'real' interesting work....
... I consider what previously discussed as very "real", very "interesting", and ultimately very "important". > > > 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. Same here ! Reason 2 involved, I use a bootloader. I thought using -long-start option was enough, but I was wrong. > > Me thinks both dependencies should be documented with the PWM libs. > I'll post a reply in Jallist to phan2170, whoever he is called. > Yeah, whoever... I also really wonder why his lid doesn't blink. I've tripled checked this, works like a charm with me. Cheers, Seb -- 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 -~----------~----~----~----~------~----~------~--~---
