I wanna make a program in c which will scan the keypad and send the result to first serial port.
P1.0 to P1.3 stands for columns and P2.0 to P2.3 stands for rows. Serial port should have a band 56k, 8 bit and 1 stop bit.
Help me do + understand it.. Thanx
A beginner is here..
Notwithstanding its low-level abilities, the dialect was intended to support cross-stage programming. A norms consistent and movably composed C program can be accumulated for a wide assortment of PC stages and working frameworks with few changes to its source code. The dialect has turned out to be accessible on an extensive variety of stages, from implanted microcontrollers to supercomputers. Unix was one of the principal working framework portions actualized in a dialect other than gathering. Prior occasions incorporate the Multics framework which was composed in and Master Control Program for the Burroughs B5000 written in ALGOL in 1961. In around 1977, Ritchie and Stephen C. Johnson rolled out further improvements to the dialect to encourage conveyability of the Unix working framework. Johnson's Portable C Compiler filled in as the reason for a few usage of C on new stages.
Once you get the keypad value, sending it through serial port is easy.
Recommended tutorial:
[url=http://www.theengineeringprojects.com/2015/12/interfacing-keypad-8051-microcontroller-proteus-isis.html]Interfacing of Keypad with 8051 Microcontroller in Proteus ISIS