SPLatco Knowledge Base

Programming of the LCD is quite easy. In this chapter we take you through the whole repertoire of LCD programming instructions. The material is organized in broad functional areas. There are several substantial examples at the end of the chapter.

Before you jump in and start writing a program for the LCD, you should carefully work out what you want to happen. As with all programming, a small amount of time spent planning can save hours of frustration later.

The onboard LCD is a SPLat SPx peripheral that is implemented as part of a SPLat controller board, for example the MMi201. Although the LCD module may actually be separated from the SPLat board by a cable, it is logically considered to be onboard because it is controlled by the same microprocessor chip as the controller board.

All instructions for the onboard LCD start with “OBLCD_”, for example OBLCD_CurBlink. These instructions are all synthesized during program translation from lower level SPx instructions. This is a process you need never concern yourself with, except that some of the instructions alter the U and V registers. If you are using no other SPx or SPiceX peripherals, that will not cause any complications.