Author: sebastien.lelong
Date: Sat Jan 24 02:12:18 2009
New Revision: 745
Modified:
trunk/sample/test/board/board_16f88_sl.jal
Log:
yeah now I have a LCD, I can setup my LCD section the way I want :)
Modified: trunk/sample/test/board/board_16f88_sl.jal
==============================================================================
--- trunk/sample/test/board/board_16f88_sl.jal (original)
+++ trunk/sample/test/board/board_16f88_sl.jal Sat Jan 24 02:12:18 2009
@@ -55,15 +55,15 @@
;@jallib section lcd_hd44780_4
-- LCD IO definition
-var bit lcd_rs is pin_b4 -- LCD command/data select.
-var bit lcd_rs_direction is pin_b4_direction
-var bit lcd_en is pin_b0 -- LCD data trigger
-var bit lcd_en_direction is pin_b0_direction
+var bit lcd_rs is pin_a6 -- LCD command/data select.
+var bit lcd_rs_direction is pin_a6_direction
+var bit lcd_en is pin_a7 -- LCD data trigger
+var bit lcd_en_direction is pin_a7_direction
var byte lcd_dataport is porta_low -- LCD data port
var byte lcd_dataport_direction is porta_low_direction
-const byte LCD_ROWS = 2 -- 2 lines
-const byte LCD_CHARS = 16 -- 16 chars per line
+const byte LCD_ROWS = 4 -- 4 lines
+const byte LCD_CHARS = 20 -- 20 chars per line
;@jallib section i2c
-- I2C io definition
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---