LCD4Bit_mod library on Arduino 1.0

Talk about Arduino board, sheilds. Sharing Arduino projects, program, problems, solutions, suggestions..... many more, all are welcome.

LCD4Bit_mod library on Arduino 1.0

Postby que63 » Sun Feb 26, 2012 7:51 pm

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.
que63
Freshie
 
Posts: 7
Joined: Sun Feb 26, 2012 6:36 pm

Re: LCD4Bit_mod library on Arduino 1.0

Postby kl84 » Mon Feb 27, 2012 10:16 am

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.
User avatar
kl84
Amateur
 
Posts: 166
Joined: Thu Jul 08, 2010 12:14 pm

Re: LCD4Bit_mod library on Arduino 1.0

Postby que63 » Mon Feb 27, 2012 11:36 am

Thanks kl84, I will do the search..
que63
Freshie
 
Posts: 7
Joined: Sun Feb 26, 2012 6:36 pm

Re: LCD4Bit_mod library on Arduino 1.0

Postby robosang » Fri Mar 02, 2012 10:20 pm

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.
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm

Re: LCD4Bit_mod library on Arduino 1.0

Postby que63 » Sun Mar 04, 2012 2:32 pm

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.
que63
Freshie
 
Posts: 7
Joined: Sun Feb 26, 2012 6:36 pm

Re: LCD4Bit_mod library on Arduino 1.0

Postby robosang » Mon Mar 05, 2012 3:21 pm

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.
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm

Re: LCD4Bit_mod library on Arduino 1.0

Postby que63 » Mon Mar 05, 2012 9:59 pm

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.
que63
Freshie
 
Posts: 7
Joined: Sun Feb 26, 2012 6:36 pm

Re: LCD4Bit_mod library on Arduino 1.0

Postby robosang » Mon Mar 05, 2012 11:09 pm

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 :?:
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm


Return to Arduino Based

Who is online

Users browsing this forum: No registered users and 16 guests

cron