Author: robhamerling
Date: Tue Oct 21 02:52:14 2008
New Revision: 437
Modified:
trunk/unvalidated/include/external/lcd/lcd_hd44780_4.jal
Log:
minor update
Modified: trunk/unvalidated/include/external/lcd/lcd_hd44780_4.jal
==============================================================================
--- trunk/unvalidated/include/external/lcd/lcd_hd44780_4.jal (original)
+++ trunk/unvalidated/include/external/lcd/lcd_hd44780_4.jal Tue Oct 21
02:52:14 2008
@@ -33,17 +33,19 @@
--
-- 2. Include this library.
--
--- 3. Set the LCD dataport and handshake pins to output:
+-- and somewhere before actually using the lcd:
+--
+-- 3. Set the chosen LCD dataport and handshake pins to output:
-- portA_low_direction = all_output
-- pin_A4_direction = output
-- pin_A5_direction = output
--
-- 4. Call lcd_init() to initialize the lcd controller.
--
--- Above is an example for a 2x16 LCD.
--- Bits 0..3 of portA are used for data, pins 4 and 5 of portA are
--- used for handshake. Any other available nibble and handshake pins
--- could be used (provided these are configurable for output).
+-- Above is an example for a 2x16 LCD:
+-- Bits 0..3 of portA are used for data, pins 4 and 5 of portA are
+-- used for handshake. Any other available nibble and handshake pins
+-- could be used (provided these are configurable for output).
--
-- Available functions for application programs:
--
@@ -57,7 +59,8 @@
-- A pseudo byte variable 'lcd' is declared as alternative for
lcd_writechar(<byte>)
-- So in stead of: lcd_writechar(<byte>)
-- you may use: lcd = <byte>
--- And you may use 'lcd' as destination in other functions, like print().
+-- And you may also use 'lcd' as destination in functions of other
+-- libraries, like print().
--
--
-----------------------------------------------------------------------------
@@ -145,9 +148,9 @@
-- -----------------------------------------------------
-- Initialize LCD
--- - for 4-bit data mode
--- - 2-line (/ 4-line) mode
--- - shift right, invisible cursor
+-- * for 4-bit data mode
+-- * 2-line (/ 4-line) mode
+-- * shift right, invisible cursor
-- -----------------------------------------------------
procedure lcd_init() is
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---