I have very little knowledge for 68HC11 and currently working on something simple but I really need help.
The 68HC11 I working on will be connected this way.
Using port C with 2inputs ( PC7 and PC6) and 5outputs to the LED ( PC5 to PC0)
PC7 -> S7 (switch)
PC6 -> S6 (switch)
PC5 to PC 0 -> D5 to D0 ( LED)
When I on S7, LED D0 to D2 on while D5 to D3 OFF.
When I on S6, LED D0 to D2 off while D5 to D3 ON.
From what I know, I am stuck with the below.
Quote
ORG $0100
PORTC EQU $1003
DDRC EQU $1007
PORTC EQU $1003
DDRC EQU $1007
The rest I really need help or guide. Can someone guide me? Thank a million. Thank you.
Best regards


Sign In
Create Account


Back to top









