Hi,
I tried to use the goto command, and it works fine, except for the x-Position 10.
I found out this is because the ASCII Code 10 gets interpreted as Line Feed or something like that, and that the driver gets 2 inputs instead of one...
How can I change this, so that it'll work?
Thanks!
Timo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
well, I fixed it myself :)
I changed the Gotoxy Code, so now it discards the highest bit of the coordinates.
So if you want to go to Position 10, just send
10+0x80 to the display!
New code:
lines 470~ change the 2 lines:
dcol=new_dcol & 0x7F;
dline=new_dline & 0x7F;
I'll send this code to the author of the program also, maybe it gets included in CVS...
Timo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I tried to use the goto command, and it works fine, except for the x-Position 10.
I found out this is because the ASCII Code 10 gets interpreted as Line Feed or something like that, and that the driver gets 2 inputs instead of one...
How can I change this, so that it'll work?
Thanks!
Timo
well, I fixed it myself :)
I changed the Gotoxy Code, so now it discards the highest bit of the coordinates.
So if you want to go to Position 10, just send
10+0x80 to the display!
New code:
lines 470~ change the 2 lines:
dcol=new_dcol & 0x7F;
dline=new_dline & 0x7F;
I'll send this code to the author of the program also, maybe it gets included in CVS...
Timo