The problem consists of: i have i display attached to the Aduc through I2C interface and i also have a keypad attached through PORT 2. When i push one of the button the display shows strange characters. Can you point to me where the problem comes? Thanks.
Okay, I'll take a shot. The look-up table you use to decode the segments on your display is incorrect. What do I win if I'm right?
No.Sorry,i think that is not the error. From what i readed,the port P2 is also used to acces some kind of memory. I tried something:i moved the characters vector to the code memory with "code" sintax and aparantly it worked. That is not the solution thow.I need to keep the vector in the "xdata".I must use anather port? Thanks for the help:)
1)From what i readed,the port P2 is also used to acces some kind of memory. 2)I tried something:i moved the characters vector to the code memory with "code" sintax and aparantly it worked. "Sintax" is what naughty girls pay the tax collector, I take you mean syntax :-) 1) Only if you have external memory attached to the processor. 2) apparantly??? Erik
Please excuse my english :D (i ment apparently),anyway.. i have external memory attached to the Aduc.It is connected through internal circuitry? because form what i can see the port is not connected. Please specify me another port for attaching the keypad.Thanks
"i have external memory attached to the Aduc.It is connected through internal circuitry? because form what i can see the port is not connected." I'm sorry, that makes no sense to me at all! Can you post a schematic somewhere, and give a link to it here? "Please specify me another port for attaching the keypad." Note that none of this actually has anything to do with Keil software tools http://www.keil.com/forum/
I will detail the problem later.I don't have all the information from the manufacturer.Thank you for your help.