8051 Microcontroller

Discussion in 'The Projects Forum' started by armyguy0304, Oct 21, 2013.

  1. armyguy0304

    Thread Starter New Member

    Sep 30, 2013
    6
    0
    i am doing a project and having some trouble programming the 8051 for a keycode. i am using 4 push buttons and want to use the ports on the microcontroller for the keycode. i want to be able to set the keycode and then use the buttons to access the code and then display it to an lcd but if the code isnt right i want it to print wrong code to the lcd. i am using the keil software but programming it in c. i have the lcd working and able to print stuff to it but lost now that i am trying to get the key code working. Any suggestions?
     
  2. tubeguy

    Well-Known Member

    Nov 3, 2012
    1,157
    197
    How exactly are the buttons connected to the port?
    Do you know about de-bouncing switches?
     
  3. crutschow

    Expert

    Mar 14, 2008
    12,984
    3,223
    Please don't do multiple posts on the same subject.
     
  4. BurninBri

    New Member

    Aug 16, 2011
    27
    3
Loading...