@Seb:
>> i guess I missed this one, pull down on MCLR?  Where did you read
>> this?
>
> See last Joep's reply here:
> http://groups.google.com/group/jallib/browse_thread/thread/5c6af5feb4c43e3d/665c99c1023190f0
>
> I used to... directly tied MCLR to +5V, no resistor ("gasp!", I can hear).
> Then someone told me "never do this, put a RC filter". So now I put a RC
> filter. But when I'm in a hurry, I just put a 10K resistor...
>
Hi Seb, you mentioned this before and I could not recall this either.
Now I understand the confusion.

My suggestion was to put a pull-down resistor on the LVP pin, not
MCLR. This will ensure proper operation when the LVP bit in the
configuration register is set (as it is by default).

As for MCLR (reset). I always use a 47k resistor and no capacitor. The
resistor value is according to Wouters' guidline: less then 22k put
such a load on the high-voltage generation circuit of the wisp that it
could fail. And there is no need to keep it low - over 1M will do as
long as you don't touch it or connect long wires.

@Richarch:
>> > As for the lcd libs: they are okay now in the way that they provide
>> > more functionality for the same interfaces.
>
> for lcd_dog_m_spi.jal i agree but lcd_dog_m_4.jal and
> lcd_dog_m_8.jal are not tested so not ready for release.
You are right: I was only thinking about the generic 4 and 8 bit
interfaces and should have taken your libs into account.

>> > I'd like to add backlight control (both digital and variable) and,
> you mean digital in on/off and variable as in PWM ?
Yes.

>> > when this is done, also add this to the lcd_app and library. But
>> > assuming I don't have more time, it will take me another week or two
>> > (without the documentation...). The reason I tell you this, is that I
>> > am a bit reluctant to release the lcd_app (+ lib + schematics) without
>> > the backlight control, since this would force users to update their
>> > controller later on. And they might omit the backlight hardware since
>> > the support is missing.
>
> Hardware for backlight is added and control on/off is easy, not?
> see schematic, b0 is for backlight so
> var  bit  backlight  is  pin_b0
> pin_b0_direction    = output
> backlight = on
> backlight = off
> PWM takes more time
> or do you have different ideas about backlight control, joep ?
You could take a look at backlight.jal ;)

You are right that digital is that simple and with the PWM libs,
variable is not that much harder. That is, for direct connected LCD's
where '1' is on for the backlight.
What I want is to provide an API that handles normal and inverted
signals to the backlight and backlight on/off also work when you have
variable backlight. And... it also works the same when you connect
your backlight via the 1-pin interface.

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