PerimeterThe library was first designed for the Picaso-based 3.2" screen μLCD-32PT(SGC). New wider screens were released, as the μLCD43PT(SGC).
Because the graphic embedded controllers provide information about the screen they manage, the library can handle other screen formats and thus was made size-independent. Maintaining one single library for different screens eases maintenance and allows hardware independent code. The Serial_LCD library works with the wide range of Picaso- and Goldelox-based screens, μLCD, μOLED and μVGA from 4D Systems. Some features aren't available on some screens, as touch functions on the μVGA-II boards. The library manages the smaller Goldelox-based screens with co-ordinates 8 bits long, instead of 16 bits the larger Picaso-based screens require. |
Structure
|
The Serial_LCD project contains three levels of libraries:
|
Serial Connections
The serial port can be either hardware, software or I²C.
|
It is declared only once on the main sketch. There's no need to dig into the libraries. It is also available on the main sketch, and thus can be managed directly, for example for updating its speed.
A new function setSpeed() allows higher speeds than the standard 9600. Arduino goes up to 57600 and chipKIT up to 115200. The securityDelay constant has its impact too: it's defined on the proxySerial.h library and strongly recommended for the Arduino to allow smooth conversation. |
|
Arduino
|
chipKIT
|
Wiring
|