lcd_hd44780_serial_sw

LCD library for HD44780 compatible LCDs, interfaced with 1 pin (serial_sw)

Author Joep Suijs, Copyright © 2008..2009, all rights reserved.
Adapted-by Richard Zengerink (lcd_init)
Compiler >=2.4g

Description

   Software serial interface for HD44780 compatible alphanumeric LCD screens.  
 --
   Directions for use of this library in application programs
   (in this sequence):
   1. Declare the following constants:
         const byte LCD_ROWS     = 2              -- 1, 2 or 4 lines
         const byte LCD_CHARS    = 16             -- 8, 16 or 20 chars per line
      and variables (aliases):
         var bit serial_sw_tx_pin  is  pin_d0     -- pin on which lcd is connected



   2. Set the chosen LCD dataport and handshake pins to output:
         pin_d0_direction = output



   3. Include this library.



   4. Call lcd_init() to initialize the lcd controller.



   Above is an example for a 2x16 LCD, connected to pin d0



   See hd_44780_common for the LCD API.


Dependencies


Summary

Global variables/contants

Procedures

Private

Functions


API details

Global variables/contants

Procedures

Private

Functions


Related samples

No sample found