This demo shows how to write text, and check for pressed keys from a LCD2S serial LCD display via I2C. It uses the nz_serI2C.h and nz_serI2C.c files to write to the I2C Port using low level I2C functions. PLEASE NOTE, it is simpler using the nz_lcd2s.h and nz_lcd2s.c functions, this example is just to show how to use the LCD2S by using low level I2C functions!
This project can be run on any of our SBC66 Netcruzer boards. For prototyping, we recommend combining this board with a Prototyping Board, like the PT66ECI for example. This low cost prototyping board makes all the I/O ports of the SBC66 board available via marked labels on the PCB. It also provides a reset and firmware button that simplifies prototyping.
This project is located in the "src/demos/i2c/i2c_lcd2s_hello" folder of the Netcruzer Download. To compile for Netcruzer Board, open this project in MPLAB X, and select the "Project Configuration" for desired board. For example "SBC66ECL_R2" for the SBC66ECL Revision 2 board. For details click here
After compiling (build), the board can be programmed via the USB Bootloader or a PIC Programmer. USB Programming is simplified when using the SBC board together with a Prototype Board.
2012-08-08, David H. (DH):