Hi Rob,

2009/4/5 Rob Hamerling <[email protected]>:
>
> I tried a 16f876A: works! But the maximum lighting with PWM is much
> darker than when I feed pin 15 of the LCD directly with 5V (via a diode
> to het approx 4.3V). I don't know how much mA backlight draws. I
> currently feed it directly from pin_C2, but I probably need a transistor
> or mosfet.
A backlight might well take 100mA, way to much for a PIC pin to
supply. It can make a start, but don't forget to add a resistor to
limit te current.
When you use a transistor, but a resistor in the base circuit, but the
backlight can do without (or one of 10E).

> I also tried a 16f886 on the same board. Does not work reliably. Starts
> OK immediately after downloading the hex file, but gives left-shifted
> text or even totally random text when repowering it.  Could it have to
> do with the 'enhanced' PWM? Maybe there is some interference. Works fine
> with another sample program without PWM.
That's strange... The lcd and pwm routine are unrelated, so maybe
there is a power supply issue?

I don't know what 'enhanced pwm' is. Is it a feature of 16f886? And
does the pwm test programs of Seb run okay on this chip?

Joep

--~--~---------~--~----~------------~-------~--~----~
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