Hi
I have a problem with a code in 8051.
I must use 6 switch with instructions.
The 1º fisrt one, when i press 0 i must put a letter in LCD display.
This code does not work like i want
SETB P2.0 (define the switch)
inst1: JB P2.0, outra
MOV P1, #'N'
SJMP inst1
outra: MOV P1, #'S'
SJMP inst1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.