View previous topic :: View next topic |
Author |
Message |
choude 21
Joined: 08 Jun 2013 Posts: 4
|
Help!!! with keypad and lcd |
Posted: Sat Jun 08, 2013 2:31 pm |
|
|
Hi! I'm working on the keypay locker in c language (16f690). Can someone help me with the 4bit lcd initialisation and keypad initialisation please. |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9246 Location: Greensville,Ontario
|
|
Posted: Sat Jun 08, 2013 2:43 pm |
|
|
both sections can be found as examples that CCS kindly supplies in the 'examples' folder.
hth
jay |
|
|
choude 21
Joined: 08 Jun 2013 Posts: 4
|
|
Posted: Sat Jun 08, 2013 3:06 pm |
|
|
thanks temtronic! But where can i find the examples folder? |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9246 Location: Greensville,Ontario
|
|
Posted: Sat Jun 08, 2013 3:11 pm |
|
|
it's a subfolder of wherever you installed your compiler.... |
|
|
ezflyr
Joined: 25 Oct 2010 Posts: 1019 Location: Tewksbury, MA
|
|
Posted: Sat Jun 08, 2013 3:11 pm |
|
|
Hi,
Are you using the CCS 'C' compiler for your keypad/LCD project? If so, the 'Examples' folder is automatically installed to your computer when the compiler is installed.
John |
|
|
choude 21
Joined: 08 Jun 2013 Posts: 4
|
|
Posted: Tue Jun 11, 2013 1:22 am |
|
|
thanks guys but when i use
#include "flex_lcd.c" or #include "LCD.C"
#include <kbd.c>
i get an error like like the file could not be opened |
|
|
oxo
Joined: 13 Nov 2012 Posts: 219 Location: France
|
|
Posted: Tue Jun 11, 2013 3:09 am |
|
|
choude 21 wrote: | thanks guys but when i use
#include "flex_lcd.c" or #include "LCD.C"
#include <kbd.c>
i get an error like like the file could not be opened |
Copy the missing files from the example to your project directory. |
|
|
|