Hi,
See this demo board:
http://www.tvielectronics.com/Produc...ontroller.html
The TC51553 Demo board has an option to store the data in a serial eeprom.
When this option is used, the on-board ATmega16 (9.216 MHz) reads the data
from a serial eeprom and sends it to the Optrex F-51553 LCD using a
8-bit parallel interface.
The Data Transfer of the Optrex F-51553 LCD is selectable serial
or 8-bit parallel. If your data is stored in a serial eeprom the
use of the parallel interface is not going to make a big speed difference.
* * *
Write a library for a Graphic LCD is a complex and challenging task.
Doing that in assembly is going to be difficult and time-consuming.
The assembly code you have posted is just a simple demo.
Some of the functions of a Graphic LCD library are:
- Clear display
- Set/Reset single pixels
- Draw lines
- Draw boxes
- Draw circles
- Write text with different styles and sizes
- Show a picture
- ....
Example:
CIRCLE x,y,r,c
x = Starting horizontal location
y = Starting vertical location
r = Radius of the circle
c = Color of the circle
* * *
I wish you a Merry Christmas and a great success with your assembly project.
Best regards,
Luciano
Bookmarks