I have two MAVRIC-IB ATmega128 boards that connect to a 128X64 LCD the program uses the glcdKS108.lib.
The board I initially developed the program on has a 14.7456Mhz clock everything works correctly the 8X8 font, 16X16 font, line draw, circle draw and even showpic graphics.
I connected my other board which has a 16.0000Mhz clock.
The display was intermittent there were extra dots and lines at random locations.
I realized that I had not changed the $crystal = 14745600 to $crystal = 16000000 after doing so the display was better but still had random dots and lines.
I then changed $crystal = 16000000 to $crystal = 18000000 and everything worked flawlessly.
This showed me that it was a timing issue writing to the LCD.
Changing the $crystal is not an expectable solution, there must be a better way to change just the read/write timing for the LCD.
Thanks Dyan...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum