Revision: 1877
Author: jsuijs
Date: Mon Apr  5 23:49:01 2010
Log: documentation update
http://code.google.com/p/jallib/source/detail?r=1877

Modified:
 /trunk/include/jal/print.jal

=======================================
--- /trunk/include/jal/print.jal        Mon Apr  5 23:39:52 2010
+++ /trunk/include/jal/print.jal        Mon Apr  5 23:49:01 2010
@@ -14,13 +14,24 @@
 -- --
 -- Example:
 -- --
--- var sword BHL = -684
+-- var sword bhl = -684
 -- --
 -- ; print the signed word to the LCD display
--- print_sword_dec(LCD_char, BHL)
+-- print_sword_dec(lcd_char, bhl)
 -- --
 -- ; and now print the same signed word to the serial port
--- print_sword_dec(Serial_HW_data, BHL)
+-- print_sword_dec(serial_hw_data, bhl)
+-- --
+-- ; Specials:
+-- print_crlf(serial_hw_data)  -- print cr + lf to device
+-- ;
+-- const byte str1[] = "JalLibWorld V1.0\n"
+-- print_string(serial_hw_data, str1) -- print string to device
+-- ;
+-- ; Note - the whole string is printed, unless the termination character is
+-- ; encountered. This is 0 by default, but you can change it with:
+-- const print_string_terminator = 255
+-- include print
 --
 -- Notes:
 --  print_sword_fp_dec uses "fixed point" integer, -127.256 to +127.256
@@ -31,7 +42,6 @@
const byte print_string_terminator = 0 -- default is 0-terminated strings
 end if

-
 include jascii

 ; prototypes

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