Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/10/04 19:20
Read: times


 
#77217 - RE: matrix keyboard interfacing to 8051
Responding to: ???'s previous message
Huzefa,

A favorite trick of mine to debug code is to use the serial port of the uprocessor to output a character when a certain point in the code is reached. I also use the serial port to output the values of certain variables that are of interest. I like Craig's idea of blinking an LED to make sure the uprocessor is not dead. You could use the serial port to output the hex value when a key is depressed. That way you be able to debug what is going on.

Good Luck,

Jacob

List of 15 messages in thread
TopicAuthorDate
matrix keyboard interfacing to 8051            01/01/70 00:00      
   RE: matrix keyboard interfacing to 8051            01/01/70 00:00      
   Schematic, code, and test the circuit            01/01/70 00:00      
      RE: Schematic, code, and test the circuit            01/01/70 00:00      
      RE: Schematic, code, and test the circuit            01/01/70 00:00      
         RE: Schematic, code, and test the circuit            01/01/70 00:00      
         Port0 cannot emit high level            01/01/70 00:00      
            RE: Port0 cannot emit high level            01/01/70 00:00      
               RE: Port0 cannot emit high level            01/01/70 00:00      
   Debugging time            01/01/70 00:00      
   RE: matrix keyboard interfacing to 8051            01/01/70 00:00      
      RE: LEDs and UART debug            01/01/70 00:00      
      ALE vs LED            01/01/70 00:00      
         RE: ALE vs LED            01/01/70 00:00      
   Flow chart            01/01/70 00:00      

Back to Subject List