Revision: 1229
Author: sebastien.lelong
Date: Thu Aug 20 22:39:15 2009
Log: fix deprecated LCD call + typo in lib
http://code.google.com/p/jallib/source/detail?r=1229

Modified:
  /trunk/include/external/lcd/lcd_hd44780_common.jal
  /trunk/sample/16f876a_rtc_timeset.jal
  /trunk/sample/16f877a_rtc_timeset.jal

=======================================
--- /trunk/include/external/lcd/lcd_hd44780_common.jal  Sat Apr  4 02:40:31  
2009
+++ /trunk/include/external/lcd/lcd_hd44780_common.jal  Thu Aug 20 22:39:15  
2009
@@ -309,7 +309,7 @@
  --  
----------------------------------------------------------------------------
  -- Deprecated
  procedure lcd_clearscreen()  is
-   _warn "lcd_clearsceen() is deprecated - please use lcd_clear_screen()"
+   _warn "lcd_clearscreen() is deprecated - please use lcd_clear_screen()"
     _lcd_write_command( lcd_clear_display )
     delay_10us( 180 )
  end procedure
=======================================
--- /trunk/sample/16f876a_rtc_timeset.jal       Mon Aug 17 12:03:37 2009
+++ /trunk/sample/16f876a_rtc_timeset.jal       Thu Aug 20 22:39:15 2009
@@ -73,7 +73,7 @@
  -- ------------------------ PROCEDURES ------------------------

  procedure time_set() is
-lcd_clearscreen()
+lcd_clear_screen()
  while getkey() != 0x0C loop        -- wait until C, bottom right key

     lcd_cursor_position(0,0)
@@ -158,7 +158,7 @@
  data_eeprom_write(3, month)
  data_eeprom_write_word(4, year)

-lcd_clearscreen()
+lcd_clear_screen()
  end procedure        -- ----------------- TIME SET  ----------------------


@@ -182,7 +182,7 @@
  INTCON_TMR0IE = on                  -- if your PIC freezes, comment these  
lines
  INTCON_GIE = on                     -- to see if the ISR is messed up

-lcd_clearscreen()
+lcd_clear_screen()
  forever  loop
     lcd_cursor_position(0,0)
     const byte str1[] = "Time RTC sample"
=======================================
--- /trunk/sample/16f877a_rtc_timeset.jal       Mon Aug 17 12:03:37 2009
+++ /trunk/sample/16f877a_rtc_timeset.jal       Thu Aug 20 22:39:15 2009
@@ -73,7 +73,7 @@
  -- ------------------------ PROCEDURES ------------------------

  procedure time_set() is
-lcd_clearscreen()
+lcd_clear_screen()
  while getkey() != 0x0C loop        -- wait until C, bottom right key

     lcd_cursor_position(0,0)
@@ -158,7 +158,7 @@
  data_eeprom_write(3, month)
  data_eeprom_write_word(4, year)

-lcd_clearscreen()
+lcd_clear_screen()
  end procedure        -- ----------------- TIME SET  ----------------------


@@ -182,7 +182,7 @@
  INTCON_TMR0IE = on                  -- if your PIC freezes, comment these  
lines
  INTCON_GIE = on                     -- to see if the ISR is messed up

-lcd_clearscreen()
+lcd_clear_screen()
  forever  loop
     lcd_cursor_position(0,0)
     const byte str1[] = "Time RTC sample"

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to