I am using an EPM900 to emulate the P89LPC933 from philips. I do not manage to configure the A/D converter available in the micro and get it to work. Need to perform a single conversion on the AD10 pin (P0.1). Do you have any sample code in assembler
The A registers maintain the values inaltered, at 0
The A registers maintain the values inaltered, at 0 So it does in many places in any code. STATE THW QUESTION YOU REPLY TO TOGETHER WITH THE ANSWER. I assume this was entered at the same time as my post above. Erik
Hi Erik, Apologise for any misunderstandings. I have managed to get the A/D to work. My problem now resides with the following: I do not manage to set PT0AD after i perform the following instruction MOV PCONA,#11101111B MOV PT0AD,#00000010B PT0AD does not assume the new value