Home - Search - Members
Full Version: How to initialize keypad and buzzer for pc 18f4520 using c programming?
olivia
Nov 10 2008, 12:45 AM
hi, i need source code for keypad and buzzer for pc 18f4520 using c programming.


Ajay
Nov 10 2008, 6:22 PM
check keypad tutorial for keypad interfacing.

buzzer is easy to drive, you can switch it on/off by simply making a pin hi/low.

olivia
Nov 11 2008, 12:38 PM
for keypad,

do i have to define like

#define<keypad.h>?

thanks

olivia
Nov 12 2008, 12:57 PM
for what u mention earlier for keypad, is it for pc18f4520 , as i can not find it
Ajay
Nov 13 2008, 8:44 AM
not its a general keypad program written in C, with little modifications you can make it work for PIC also.

you cannot directly add the header file unless its available.

try to go through the keypad program, if you feel any problem please ask.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Rickey's World © 2003 - 2007