??? 10/21/04 12:22 Read: times |
#79665 - ADUC812 Port 1 |
Hi All,
I am trying to use the ADUC812 Port 1 as an input. I have connected some digital inputs to various pins on Port 1. I have written oo hex to all the pins to make them inputs. However when I try to input the digital data all I get is rubbish. I am using aspire to step through it in real time. Is there anything else I have to do? Is there anything I am leaving out. Here is my code: $MOD812 ORG 0000H LJMP 0200H ORG 0200H MOV SP,#40H MOV P1,#00H ;Makes port 1 an i/p AGAIN: MOV A,P1 LJMP AGAIN END Thanks All. |
Topic | Author | Date |
ADUC812 Port 1 | 01/01/70 00:00 | |
RE: ADUC812 Port 1 | 01/01/70 00:00 | |
RE: ADUC812 Port 1 | 01/01/70 00:00 | |
RE: ADUC812 Port 1 | 01/01/70 00:00 | |
RE: ADUC812 Port 1 | 01/01/70 00:00 | |
RE: ADUC812 Port 1 | 01/01/70 00:00 | |
RE: ADUC812 Port 1 | 01/01/70 00:00 | |
RE: ADUC812 Port 1 | 01/01/70 00:00 | |
RE: ADUC812 Port 1 | 01/01/70 00:00 | |
RE: ADUC812 Port 1 | 01/01/70 00:00 | |
RE: ADUC812 Port 1 | 01/01/70 00:00 | |
RE: ADUC812 Port 1 | 01/01/70 00:00 | |
RE: ADUC812 Port 1 | 01/01/70 00:00 | |
RE: ADUC812 Port 1 | 01/01/70 00:00 | |
RE: ADUC812 Port 1![]() | 01/01/70 00:00 |