keyboard scanning and display over the LEDs

Thread Starter

gayatri

Joined Jul 28, 2009
8
my interest is into embeded sytem programming.i am currently working over a ARM controller.
i wish to know how do i go about programming for a keyboard and then display the result on LEDS.i wish to use a 4*4 matrix keyboard numbered as 0 to F in hex.(0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F).thus i would require 4 leds for display if i display in binary form or 8 LEDS if in BCD form
i need to use C language for the same.the software im using is KEIL.
will i need to perform hex to binary or hex to BCD conversion?please guide me through the programming steps.
 
Top