|
From: <wei...@t-...> - 2001-09-06 18:10:38
|
Hi
i have this function:
void printspeicherstelle(xdata unsigned char *stelle)
{
unsigned char dummy;
lcd_setadd(LCD_ZEILE3+5);
dummy = *stelle;
lcd_printhex(dummy);
lcd_printc(0x20);
lcd_printbin(dummy);
lcd_printc(0x20);
lcd_printc(0x27);
lcd_printc(dummy);
lcd_printc(0x27);
}
i call this function like:
printspeicherstelle(0x0012);
It works fine. But there is one problem. I would like to have the content of
the pointer (stelle) in a variable so that i can print the content to the
lcd. I hope you understand me. On the LCD should be a line like:
ADDRESS DATA_in_HEX DATA_in_BIN DATA_in_ASC
The last three things are working but who to get the adress out of the
pointer?
Matthias Weißer
Wer einen Rechtschreibfehler findet darf ihn behalten
http://www.matwei.de/
mat...@ma...
|