This time I post this one in the hardware section because I will not spend
too much time on desctibing software. This new screen should be wired
to 2 parallel ports, which makes it unusable with small CPUS like the
F2013. It needs 1 port for data in / out and 5 bits for control.
These controls are:
- Reset
- Data / command
- Chp select
- Write
- Read
I used Texas Instruments' board, but I have removed the default LCD.
Here is a picture of the Texas board equiped with 2 graphical LCDs.
Hello Hamayan, it is still the code I sent you that runs on the 2013!
Click here for a bigger image.
As you can see, the display is a little bit smaller in width and bigger in
height.
Here is a closeup of the screen:
As you can see, there are 3 gray levels (blcak, dark gray, light gray, and
white (let's say transparent)). This should allow to draw nicer images.
Now some more detail on the screen itself. Here is a picture of the
front and back of this screen.
Click here for a larger view.
Unlike the other model PW10164LCD which has no backlight capability
(except if you setup a backlight yourself), this one has a lightguide
and there is space for two LEDs on the back plane holder.
It can be set directly on a PCB (you would need 4 holes for placement),
and needs a 30-pin connector.
Software is easy to use, and I have kept the same interface, the same
function names as much as possible, except for the color.
For example, what was:
- Code: Select all
WriteString(uint8 * str)
is now:
- Code: Select all
WriteString(uint8 * str, uint8 color);
Color can be either of WHITE, LGRAY, DGRAY, BLACK.
As usual, we deliver the driver for MSP430 to our customers.
Pascal
