ugfx/demos/3rdparty/tdisp_f4_discovery
2013-06-01 01:57:20 +02:00
..
chconf.h doxygen fixes 2013-06-01 01:57:20 +02:00
gfxconf.h TDISP update 2013-06-01 01:37:53 +02:00
halconf.h doxygen fixes 2013-06-01 01:57:20 +02:00
main.c TDISP update 2013-06-01 01:37:53 +02:00
Makefile TDISP update 2013-06-01 01:37:53 +02:00
mcuconf.h TDISP update 2013-06-01 01:37:53 +02:00
README TDISP update 2013-06-01 01:37:53 +02:00
tdisp_lld_board.h TDISP update 2013-06-01 01:37:53 +02:00

Discription
===========
This is a demo project for testing the TDISP/HD44780
on a STM32F4-Discovery board.

The first line of the display will show: ChibiOS/GFX
The second line wil show: TDISP/HD44780 with a custom charactor in front.

If the connected display is a 4 line display:
The third line will stay empty
The forth line will show the cursor modes.

Display type
============
The demo is written for a 4 lines display. If have a display with less lines, change the TDISP_COLUMNS setting
gfxconf.h in the project directory to the count of your display.
The software will react upon this setting.

Hardware connection
===================
The datalines D4 to D7 of the HD44780 compatible display must be connected to the PE0 to PE3 output pins
of the Discovery board. The RS-line of the display must be connected to PD0 of the Discovery board 
and the CS-line of the display must be connected to PD1 of the Discovery board.
The R/W-line of the display must be connected to ground, because reading from the display is not used.

The project directory contains a custom STM32F4 Discovery board file. If you want to change the connection to
the Discovery board, change the custom board file accordingly.

Building
========
You have to check the provided Makefile to meet your installation of the ARM-GCC Toolchain.