BV 4629 LCD Display 240 x 320 with Touch screen

This utility is for demonstration purposes and so only a handful of functions have been implemented. The top 'comms' screen can be used  to type commends and text directly to the display. The tool however does contain two conversion functions. See the user guide for more information about these. The first function will convert a BMP file to a format suitable for the display and the second function will convert a bitmapped font file to a format suitable for the display.

The main page for this is in the BMP tab, here is a copy, the red numbers will explain the function of the controls.

  1. This is the picture control. A picture Must be a BMP file with a 24 bit colour depth, selecting a picture will display it on the panel at the left hand side.

  2. This button will send the picture to the display at the current cursor location because the boxes at (3) are blank.

  3. To place the picture at a specific location enter the X and Y co-ordinates

  4. Instead of sending the picture to the display it can be sent to the displays Flash memory. To do this an empty block (a green one) must be selected first simply by clicking on it

  5. When the tolls are first opened the Flash usage panel (this) is all white, to get the Flash information from the display it is necessary to use the refresh button (6). The panel shows each of the 500 x 4k blocks that are available. The colour codes are as follows:
    Green     empty
    Red        in use
    Blue       the start of a picture file
    Fucia    the start of a font file
    Yellow    the start of a macro 

  6. This will need selecting to update the Flash usage panel.

  7. To use this select a Blue, Fuca or Yellow block first. This will send the contents of the Flash memory to the screen.

  8. This works in the same way as (1) but with font files. A font file is created using CBFG which is a free program from Codehead, the web site is here http://www.codehead.co.uk/cbfg/ . There is also a copy of the program in the BV4629 resource pack. More information on creating fonts is in the user guide.

  9. In addition to saving fonts to the display or Flash, a file can be created for later use by selecting on of the check box options.

  10. This is used for erasing 1 or all of the blocks in Flash. If bloc 0 is erased you will need to re-calibrate the touch screen.

  11. Activating this check box will cause an interrupt each time the screen is touched, this is infact the RI (ring indicator) and will be detected by the program. It then sends a request to the display for the co-ordinates. The co-ordinates are displayed which can be useful for working with the display.

Tips & Tricks

Touch Screen

It is normal to receive a few unexpected results as the interrupt is going so fast. If a constant stream of unexpected results are being received then this will be due the the ACK or lack of it. The easiest way to cure this is to select 'none' on the devices dialog box and then back to 4629.

When re-calibrating using esc[c the result must be saved using esc[?27D otherwise it will return to the previous calibration on reset.