Page 1 of 1

LCD4Bit_mod library on Arduino 1.0

PostPosted: Sun Feb 26, 2012 7:51 pm
by que63
I am having trouble using LCD4Bit_mod library on Arduino 1.0. My codes don't compile and I cannot find a way to debug. I was able to use this library without much trouble on Arduino 0023. Is there any similar library for the new version of the IDE?...

Thsnks.

Re: LCD4Bit_mod library on Arduino 1.0

PostPosted: Mon Feb 27, 2012 10:16 am
by kl84
I think i saw a documentation about migrating from previous Arduino IDE versions to the new one in the official Arduino website. You should search for it.

Re: LCD4Bit_mod library on Arduino 1.0

PostPosted: Mon Feb 27, 2012 11:36 am
by que63
Thanks kl84, I will do the search..

Re: LCD4Bit_mod library on Arduino 1.0

PostPosted: Fri Mar 02, 2012 10:20 pm
by robosang
Er.... why do you need that library? I am also new to Arduino but using the LCD library from arduino example is working fine for me.

Re: LCD4Bit_mod library on Arduino 1.0

PostPosted: Sun Mar 04, 2012 2:32 pm
by que63
I am using LCD keypad shield not the normal LCD. The codes I am working on are compiling successfully on Arduino 1.0 and not on the previous version but then the LCD code doesn't because its library (LCD4Bit_mod) isn't compatible.

Re: LCD4Bit_mod library on Arduino 1.0

PostPosted: Mon Mar 05, 2012 3:21 pm
by robosang
I am using LCD shield too... I just modify the pin assignment according to the schematic provided, change to 8,9,4,5,6,7 working fine for me!

As for the keypad, it is basically analog input only 8-) Read analog 0 and everything works fine. But I think the resistor value at keypad interface is offset a bit. Anyway, is fine, I read it and get the actual value already.

Re: LCD4Bit_mod library on Arduino 1.0

PostPosted: Mon Mar 05, 2012 9:59 pm
by que63
Hi robosang,

Yah I did the same but I am getting multiple errors. Which Arduino IDE are you using the LCD4Bit_mod library on?.Mine was working ok on arduino 0023 but not on arduino 1.0.

Re: LCD4Bit_mod library on Arduino 1.0

PostPosted: Mon Mar 05, 2012 11:09 pm
by robosang
No, as I mentioned earlier, I did not use the LCD4Bit_mod library at all. What is being provided by the library actually? LCD can display message using the LiquidCrystal library from arduino IDE 1.0. The keypad is basically using analog pin to read the analog value. If you look at the schematic, the keypad is a form of resistor ladder or divider in someway. Frankly, I don understand why library is needed :?: