Search code examples
assemblymicrocontroller8051

Matrix keypad of 8051 MCU not working


I use the MCU 8051 IDE and currently I am trying to work with the keypad in the emulator.

At first I set the Port/Bits for the specific keys but when I press a key the assigned bit(s) are not being set. I don't get any response if a key is pressed or not.

I checked the documentation but there is no further information which could help me. Does anyone have a solution for this?

Picture of the keypad:

marix keypad

As I can trace the memory in the emulator I do not need code.


Solution

  • The problem is solved. Actually the bits are set but the emulator is buggy and does not show it in the GUI.