Author: sebastien.lelong
Date: Tue Dec  9 11:43:03 2008
New Revision: 609

Added:
    trunk/validated/doc/html/calendar.html   (contents, props changed)
    trunk/validated/doc/html/co2_t6603.html   (contents, props changed)
    trunk/validated/doc/html/rtc_isr_tmr0.html   (contents, props changed)
Modified:
    trunk/validated/doc/html/delay.html
    trunk/validated/doc/html/format.html
    trunk/validated/doc/html/keyboard.html
    trunk/validated/doc/html/lcd_hd44780_4.html
    trunk/validated/doc/html/menu.html
    trunk/validated/doc/html/pic_data_eeprom.html
    trunk/validated/doc/html/print.html
    trunk/validated/doc/html/serial_hardware.html

Log:
new doc + test if it triggers validated bot with blame list

Added: trunk/validated/doc/html/calendar.html
==============================================================================
--- (empty file)
+++ trunk/validated/doc/html/calendar.html      Tue Dec  9 11:43:03 2008
@@ -0,0 +1,136 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<html>
+    <head>
+    </head>
+    <body>
+                       <div id="page">
+
+            <div id="pagecontent">
+
+                       
+    <h1>calendar</h1>
+
+    <div>
+               <font size="+1"><i>Calendar, takes care of ranges for seconds, 
minutes,  
date, month, year</i></font>
+       </div>
+
+       <br/>
+
+    <div class="narrow">
+
+       <table>
+       <tr>
+               <td style="border: 1px solid #aaa; padding: 5px;">
+                       <b>Author</b>
+               </td>
+               <td style="border: 1px solid #aaa; padding: 5px;">
+                       Eur van Andel, Copyright (c) 2008, all rights reserved.
+               </td>
+       </tr>
+       <tr>
+               <td style="border: 1px solid #aaa; padding: 5px;">
+                       <b>Adapted-by</b>
+               </td>
+               <td style="border: 1px solid #aaa; padding: 5px;">
+                       
+               </td>
+       </tr>
+       <tr>
+               <td style="border: 1px solid #aaa; padding: 5px;">
+                       <b>Compiler</b>
+               </td>
+               <td style="border: 1px solid #aaa; padding: 5px;">
+                       >=2.4h
+               </td>
+       </tr>
+       </table>
+
+       <br/>
+       
+       <b>Description</b>
+       <p>
+               <pre>This library has only one fuction: calendar(). It assumes 
the  
following variables:
+var volatile byte seconds (typically updated by an ISR)
+var byte hours, minutes, date, month
+var word year
+It knows the leap years until 2099.
+</pre>
+
+       </p>
+       <br/>
+
+
+       
+       <b>Dependencies</b>
+       <p>
+               <i>No dependency found</i>
+       </p>
+       <br/>
+
+
+                       <br/>
+                               <h2><a name="summary">Summary</a></h2>
+
+               <h3><a name="Global variables/contants">Global  
variables/contants</a></h3>
+               <ul>
+       </ul>
+
+
+               <h3><a name="Procedures">Procedures</a></h3>
+               <ul>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#145920213ae7ac44626a20972d537d4b">calendar()</a></code></b>
+               </li>
+       </ul>
+
+
+               <h3><a name="Functions">Functions</a></h3>
+               <ul>
+       </ul>
+
+
+
+                       <br/>
+                               <h2><a name="api">API details</a></h2>
+
+               <h3><a name="Global variables/contants">Global  
variables/contants</a></h3>
+               <ul>
+       </ul>
+
+
+               <h3><a name="Procedures">Procedures</a></h3>
+               <ul>
+               <li>
+                               <b><code name="code" class="python"><a  
name="145920213ae7ac44626a20972d537d4b"  
href="#summary">calendar()</a></code></b>
+                               <p><i>No documentation found</i></p>
+               </li>
+       </ul>
+
+
+               <h3><a name="Functions">Functions</a></h3>
+               <ul>
+       </ul>
+
+
+
+                       <br/>
+                               <h2><a name="related_samples">Related 
samples</a></h2>
+       Here are the list of samples which use this library:<br/><br/>
+       <table border=1>
+       <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_rtc_lcd.jal";
  
target="_blank">sample_rtc_lcd.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/sample_rtc_lcd.jal";
  
target="_blank">sample_rtc_lcd.jal</a></td>
+       </tr>
+       </table>
+
+                       <br/>
+
+            </div>
+        </div>
+
+
+       </body>
+</html>
+

Added: trunk/validated/doc/html/co2_t6603.html
==============================================================================
--- (empty file)
+++ trunk/validated/doc/html/co2_t6603.html     Tue Dec  9 11:43:03 2008
@@ -0,0 +1,274 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<html>
+    <head>
+    </head>
+    <body>
+                       <div id="page">
+
+            <div id="pagecontent">
+
+                       
+    <h1>co2_t6603</h1>
+
+    <div>
+               <font size="+1"><i>T6603_CO2, read values from GE/Telaire T6603 
CO2  
sensor.</i></font>
+       </div>
+
+       <br/>
+
+    <div class="narrow">
+
+       <table>
+       <tr>
+               <td style="border: 1px solid #aaa; padding: 5px;">
+                       <b>Author</b>
+               </td>
+               <td style="border: 1px solid #aaa; padding: 5px;">
+                       Eur van Andel, [EMAIL PROTECTED] Copyright (c) 2008
+               </td>
+       </tr>
+       <tr>
+               <td style="border: 1px solid #aaa; padding: 5px;">
+                       <b>Adapted-by</b>
+               </td>
+               <td style="border: 1px solid #aaa; padding: 5px;">
+                       
+               </td>
+       </tr>
+       <tr>
+               <td style="border: 1px solid #aaa; padding: 5px;">
+                       <b>Compiler</b>
+               </td>
+               <td style="border: 1px solid #aaa; padding: 5px;">
+                       =2.4h
+               </td>
+       </tr>
+       </table>
+
+       <br/>
+       
+       <b>Description</b>
+       <p>
+               <pre>this library communicates with the T6603 GE/Telaire CO2 
sensor.
+This sensor uses the Telaire Tsunami-Lite Commnications Protocol
+(no kidding), which is a definition with zero hits on Google.
+available functions are:
+get_status() return byte
+get_co2_ppm() return word           -- CO2 concentration in ppm
+get_serial_numer() return string[15]
+get_elevation_m() return word       -- in meters above sea level
+</pre>
+
+       </p>
+       <br/>
+
+       <b>Sources</b>
+       <p>
+               <pre>The brochure is here:  
www.gesensing.com/downloads/datasheets/920-419A_LR.pdf
+Some clippings from the protocol document:
+
+
+------------ START OF PROTOCOL DOCUMENT CLIPPINGS  ---------------------
+</pre>
+
+       </p>
+       <br/>
+
+       
+       <b>Dependencies</b>
+       <p>
+               <i>No dependency found</i>
+       </p>
+       <br/>
+
+
+                       <br/>
+                               <h2><a name="summary">Summary</a></h2>
+
+               <h3><a name="Global variables/contants">Global  
variables/contants</a></h3>
+               <ul>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#bb646e49664ef3b0b1a89004328f8f1f">const ELEVATION   = 0x0F
+</a></code></b>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#f6fc3d7ed31c55b3c76fefcc62e99051">const SERIAL      = 0x01
+</a></code></b>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#7f703fd707620bc8acc094e513d9f049">var word co2_global         --  
global CO2 value, keeps value when garbage reply
+</a></code></b>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#cc458c34d71ebb24b05144356cc9a7cd">const FLAG        = 0xFF
+</a></code></b>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#c544e51df53efd890e8f3274ce2a5240">const CMD_READ    = 0x02
+</a></code></b>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#2e861e078bd99e8ed27e851a79904d8c">const BRDCST      = 0xFE
+</a></code></b>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#68072a22b1e68b471c61b712fbea8675">const CMD_UPDATE  = 0x03
+</a></code></b>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#50e42f754d5c8832ccfba32057fe224c">const CMD_STATUS  = 0xB6
+</a></code></b>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#973788d3fa2ba06ac138ded573cfe5b3">const CO2_PPM     = 0x03
+</a></code></b>
+               </li>
+       </ul>
+
+
+               <h3><a name="Procedures">Procedures</a></h3>
+               <ul>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#456bc682e1aef2c606ee71ae080c4a98">set_co2_elevation_m(word in  
meters)</a></code></b>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#f7b01b95e971dd887b93a64304863afc">get_co2_serial_number(byte out  
str[8])</a></code></b>
+               </li>
+       </ul>
+
+
+               <h3><a name="Functions">Functions</a></h3>
+               <ul>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#41fe036619a26d25da7e68ac3bb4f84f">get_co2_elevation_m() return  
word</a></code></b>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#5d48ecaaa9459dc9dd6deae8b3b9ac46">get_co2_ppm() return  
word</a></code></b>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#adc8740114e9146052ab2cb5e803bbca">get_co2_status() return  
byte</a></code></b>
+               </li>
+       </ul>
+
+
+
+                       <br/>
+                               <h2><a name="api">API details</a></h2>
+
+               <h3><a name="Global variables/contants">Global  
variables/contants</a></h3>
+               <ul>
+               <li>
+                               <b><code name="code" class="python"><a  
name="bb646e49664ef3b0b1a89004328f8f1f" href="#summary">const ELEVATION   =  
0x0F
+</a></code></b>
+                               <p><i>No documentation found</i></p>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
name="f6fc3d7ed31c55b3c76fefcc62e99051" href="#summary">const SERIAL      =  
0x01
+</a></code></b>
+                               <p><i>No documentation found</i></p>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
name="7f703fd707620bc8acc094e513d9f049" href="#summary">var word  
co2_global         -- global CO2 value, keeps value when garbage reply
+</a></code></b>
+                               <p><i>No documentation found</i></p>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
name="cc458c34d71ebb24b05144356cc9a7cd" href="#summary">const FLAG        =  
0xFF
+</a></code></b>
+                               <p><i>No documentation found</i></p>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
name="c544e51df53efd890e8f3274ce2a5240" href="#summary">const CMD_READ    =  
0x02
+</a></code></b>
+                               <p><i>No documentation found</i></p>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
name="2e861e078bd99e8ed27e851a79904d8c" href="#summary">const BRDCST      =  
0xFE
+</a></code></b>
+                               <p><i>No documentation found</i></p>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
name="68072a22b1e68b471c61b712fbea8675" href="#summary">const CMD_UPDATE  =  
0x03
+</a></code></b>
+                               <p><i>No documentation found</i></p>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
name="50e42f754d5c8832ccfba32057fe224c" href="#summary">const CMD_STATUS  =  
0xB6
+</a></code></b>
+                               <p><i>No documentation found</i></p>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
name="973788d3fa2ba06ac138ded573cfe5b3" href="#summary">const CO2_PPM     =  
0x03
+</a></code></b>
+                               <p><i>No documentation found</i></p>
+               </li>
+       </ul>
+
+
+               <h3><a name="Procedures">Procedures</a></h3>
+               <ul>
+               <li>
+                               <b><code name="code" class="python"><a  
name="456bc682e1aef2c606ee71ae080c4a98"  
href="#summary">set_co2_elevation_m(word in meters)</a></code></b>
+                               <p>     <pre>should set elevation in meters 
above sea level, not  
implemented yet
+</pre>
+</p>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
name="f7b01b95e971dd887b93a64304863afc"  
href="#summary">get_co2_serial_number(byte out str[8])</a></code></b>
+                               <p>     <pre>returns 8 byte ASCII string, which 
should be the same
+as the number on the sticker
+</pre>
+</p>
+               </li>
+       </ul>
+
+
+               <h3><a name="Functions">Functions</a></h3>
+               <ul>
+               <li>
+                               <b><code name="code" class="python"><a  
name="41fe036619a26d25da7e68ac3bb4f84f"  
href="#summary">get_co2_elevation_m() return word</a></code></b>
+                               <p>     <pre>returns programmed elevation above 
sea level in meters
+this elevation is uses to calculate CO2 concentration correctly
+</pre>
+</p>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
name="5d48ecaaa9459dc9dd6deae8b3b9ac46" href="#summary">get_co2_ppm()  
return word</a></code></b>
+                               <p>     <pre>returns a word with CO2 
concentration in ppm
+note: if sensor is busy measuring the CO2 values, it will give garbage  
reply
+reply is checked for garbage and if so, *PREVIOUS* ppm value is returned
+</pre>
+</p>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
name="adc8740114e9146052ab2cb5e803bbca" href="#summary">get_co2_status()  
return byte</a></code></b>
+                               <p>     <pre>returns status byte. bit_0 = 
error, bit_1 = warmup,
+bit_2 = calibration, bit_3 = idle
+</pre>
+</p>
+               </li>
+       </ul>
+
+
+
+                       <br/>
+                               <h2><a name="related_samples">Related 
samples</a></h2>
+       Here are the list of samples which use this library:<br/><br/>
+       <table border=1>
+       <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_t6603.jal";
  
target="_blank">sample_t6603.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/sample_co2_t6603.jal";
  
target="_blank">sample_co2_t6603.jal</a></td>
+       </tr>
+       </table>
+
+                       <br/>
+
+            </div>
+        </div>
+
+
+       </body>
+</html>
+

Modified: trunk/validated/doc/html/delay.html
==============================================================================
--- trunk/validated/doc/html/delay.html (original)
+++ trunk/validated/doc/html/delay.html Tue Dec  9 11:43:03 2008
@@ -222,10 +222,22 @@
                <td><b>16f819</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f819/hello_world_lcd.jal";
  
target="_blank">hello_world_lcd.jal</a></td>
        </tr>
        <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_rtc_lcd.jal";
  
target="_blank">sample_rtc_lcd.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_sht.jal";
  
target="_blank">sample_sht.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/sample_lcd_format.jal";
  
target="_blank">sample_lcd_format.jal</a></td>
+       </tr>
+       <tr>
                <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/print_serial_numbers.jal";
  
target="_blank">print_serial_numbers.jal</a></td>
        </tr>
        <tr>
-               <td><b>16f88</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f88/print_serial_numbers.jal";
  
target="_blank">print_serial_numbers.jal</a></td>
+               <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/sample_rtc_lcd.jal";
  
target="_blank">sample_rtc_lcd.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f88</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f88/adc_lowres.jal";
  
target="_blank">adc_lowres.jal</a></td>
        </tr>
        <tr>
                <td><b>16f88</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f88/delay_basic.jal";
  
target="_blank">delay_basic.jal</a></td>
@@ -234,7 +246,7 @@
                <td><b>16f88</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f88/hello_world_lcd.jal";
  
target="_blank">hello_world_lcd.jal</a></td>
        </tr>
        <tr>
-               <td><b>16f88</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f88/adc_lowres.jal";
  
target="_blank">adc_lowres.jal</a></td>
+               <td><b>16f88</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f88/print_serial_numbers.jal";
  
target="_blank">print_serial_numbers.jal</a></td>
        </tr>
        </table>


Modified: trunk/validated/doc/html/format.html
==============================================================================
--- trunk/validated/doc/html/format.html        (original)
+++ trunk/validated/doc/html/format.html        Tue Dec  9 11:43:03 2008
@@ -113,15 +113,21 @@
                <h3><a name="Procedures">Procedures</a></h3>
                <ul>
                <li>
+                               <b><code name="code" class="python"><a  
href="#3701aae04ef0a7a121258b883143dc25">format_time_hms(volatile byte out  
device,byte in HH, byte in MM, byte in SS)</a></code></b>
+               </li>
+               <li>
                                <b><code name="code" class="python"><a  
href="#abb29b267235f70f5b295c6900070b0b">format_byte_dec(volatile byte out  
device, byte in data, byte in n_tot, byte in n2)</a></code></b>
                </li>
                <li>
-                               <b><code name="code" class="python"><a  
href="#3d23e5fc7ba89beff2091b2169ad6686">format_time_word(volatile byte out  
device,word in minutes)</a></code></b>
+                               <b><code name="code" class="python"><a  
href="#55e02f515183f82a8ebc6e807e4dd093">format_time_hm_word(volatile byte  
out device,word in minutes)</a></code></b>
                </li>
                <li>
                                <b><code name="code" class="python"><a  
href="#08249022a4f39de105487eefac8432b1">format_sbyte_dec(volatile byte out  
device, sbyte in data, byte in n_tot, byte in n2)</a></code></b>
                </li>
                <li>
+                               <b><code name="code" class="python"><a  
href="#7e881b450c947d25c1e59070186862e5">format_sdword_dec(volatile byte  
out device, sdword in data, byte in n_tot, byte in n2)</a></code></b>
+               </li>
+               <li>
                                <b><code name="code" class="python"><a  
href="#8f260e3de571467c3c4bd0ed89828ad2">format_dword_dec(volatile byte out  
device, dword in data, byte in n_tot, byte in n2)</a></code></b>
                </li>
                <li>
@@ -134,16 +140,13 @@
                                <b><code name="code" class="python"><a  
href="#a34e1586c9c997964998df8732c61bb0">format_byte_hex(volatile byte out  
device, byte in data)</a></code></b>
                </li>
                <li>
-                               <b><code name="code" class="python"><a  
href="#da8d1b5f335c88b46c2404a5c30f18b5">format_time_bytes(volatile byte  
out device,byte in HH, byte in MM)</a></code></b>
-               </li>
-               <li>
                                <b><code name="code" class="python"><a  
href="#f737a56c2a50fb10d8a9c74425c458d0">format_word_hex(volatile byte out  
device, word in data)</a></code></b>
                </li>
                <li>
                                <b><code name="code" class="python"><a  
href="#721e52b173732af9795ec7b7471eeaef">format_sword_dec(volatile byte out  
device, sword in data, byte in n_tot, byte in n2)</a></code></b>
                </li>
                <li>
-                               <b><code name="code" class="python"><a  
href="#7e881b450c947d25c1e59070186862e5">format_sdword_dec(volatile byte  
out device, sdword in data, byte in n_tot, byte in n2)</a></code></b>
+                               <b><code name="code" class="python"><a  
href="#0ca8c5bb1c821e6bab0f46db3a34a2cc">format_time_hm(volatile byte out  
device,byte in HH, byte in MM)</a></code></b>
                </li>
        </ul>

@@ -200,6 +203,15 @@
                <h3><a name="Procedures">Procedures</a></h3>
                <ul>
                <li>
+                               <b><code name="code" class="python"><a  
name="3701aae04ef0a7a121258b883143dc25"  
href="#summary">format_time_hms(volatile byte out device,byte in HH, byte  
in MM, byte in SS)</a></code></b>
+                               <p>     <pre>
+Displays a time in HH:MM:SS notation at specified position
+Hours and minutes are specified separate
+
+</pre>
+</p>
+               </li>
+               <li>
                                <b><code name="code" class="python"><a  
name="abb29b267235f70f5b295c6900070b0b"  
href="#summary">format_byte_dec(volatile byte out device, byte in data,  
byte in n_tot, byte in n2)</a></code></b>
                                <p>     <pre>
  writes decimal formatted byte to output device
@@ -211,7 +223,7 @@
  </p>
                </li>
                <li>
-                               <b><code name="code" class="python"><a  
name="3d23e5fc7ba89beff2091b2169ad6686"  
href="#summary">format_time_word(volatile byte out device,word in  
minutes)</a></code></b>
+                               <b><code name="code" class="python"><a  
name="55e02f515183f82a8ebc6e807e4dd093"  
href="#summary">format_time_hm_word(volatile byte out device,word in  
minutes)</a></code></b>
                                <p>     <pre>
  Displays a time in HH:MM notation at specified position
  the input is specified in minutes
@@ -231,6 +243,17 @@
  </p>
                </li>
                <li>
+                               <b><code name="code" class="python"><a  
name="7e881b450c947d25c1e59070186862e5"  
href="#summary">format_sdword_dec(volatile byte out device, sdword in data,  
byte in n_tot, byte in n2)</a></code></b>
+                               <p>     <pre>
+writes decimal formatted signed dword to output device
+the output can be specified as a fraction
+  n_tot = the total length (including sign and decimal point)
+  n2   = number of digits behind the point
+
+</pre>
+</p>
+               </li>
+               <li>
                                <b><code name="code" class="python"><a  
name="8f260e3de571467c3c4bd0ed89828ad2"  
href="#summary">format_dword_dec(volatile byte out device, dword in data,  
byte in n_tot, byte in n2)</a></code></b>
                                <p>     <pre>
  writes decimal formatted dword to output device
@@ -269,15 +292,6 @@
  </p>
                </li>
                <li>
-                               <b><code name="code" class="python"><a  
name="da8d1b5f335c88b46c2404a5c30f18b5"  
href="#summary">format_time_bytes(volatile byte out device,byte in HH, byte  
in MM)</a></code></b>
-                               <p>     <pre>
-Displays a time in HH:MM notation at specified position
-Hours and minutes are specified separate
-
-</pre>
-</p>
-               </li>
-               <li>
                                <b><code name="code" class="python"><a  
name="f737a56c2a50fb10d8a9c74425c458d0"  
href="#summary">format_word_hex(volatile byte out device, word in  
data)</a></code></b>
                                <p>     <pre>
  writes hex formatted word to output device
@@ -297,12 +311,10 @@
  </p>
                </li>
                <li>
-                               <b><code name="code" class="python"><a  
name="7e881b450c947d25c1e59070186862e5"  
href="#summary">format_sdword_dec(volatile byte out device, sdword in data,  
byte in n_tot, byte in n2)</a></code></b>
+                               <b><code name="code" class="python"><a  
name="0ca8c5bb1c821e6bab0f46db3a34a2cc"  
href="#summary">format_time_hm(volatile byte out device,byte in HH, byte in  
MM)</a></code></b>
                                <p>     <pre>
-writes decimal formatted signed dword to output device
-the output can be specified as a fraction
-  n_tot = the total length (including sign and decimal point)
-  n2   = number of digits behind the point
+Displays a time in HH:MM notation at specified position
+Hours and minutes are specified separate

  </pre>
  </p>
@@ -340,7 +352,22 @@
        Here are the list of samples which use this library:<br/><br/>
        <table border=1>
        <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_rtc_lcd.jal";
  
target="_blank">sample_rtc_lcd.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_tc77.jal";
  
target="_blank">sample_tc77.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_sht.jal";
  
target="_blank">sample_sht.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/sample_lcd_format.jal";
  
target="_blank">sample_lcd_format.jal</a></td>
+       </tr>
+       <tr>
                <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/print_serial_numbers.jal";
  
target="_blank">print_serial_numbers.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/sample_rtc_lcd.jal";
  
target="_blank">sample_rtc_lcd.jal</a></td>
        </tr>
        <tr>
                <td><b>16f88</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f88/print_serial_numbers.jal";
  
target="_blank">print_serial_numbers.jal</a></td>

Modified: trunk/validated/doc/html/keyboard.html
==============================================================================
--- trunk/validated/doc/html/keyboard.html      (original)
+++ trunk/validated/doc/html/keyboard.html      Tue Dec  9 11:43:03 2008
@@ -49,7 +49,9 @@
        
        <b>Description</b>
        <p>
-               This library consist of a single funtion: getkey() that scans a 
4x4  
matrix keyboard. <br/>it needs two variables: keydrive and keyscan. <br/>
+               <pre>This library consist of a single funtion: getkey() that 
scans a 4x4  
matrix keyboard.
+it needs two variables: keydrive and keyscan.
+</pre>

        </p>
        <br/>
@@ -192,9 +194,14 @@
                        <br/>
                                <h2><a name="related_samples">Related 
samples</a></h2>
        Here are the list of samples which use this library:<br/><br/>
-       <ul>
-               <li><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/keyboard_lcd.jal";
  
target="_blank">keyboard_lcd.jal</a></li>
-       </ul>
+       <table border=1>
+       <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_keyboard_lcd.jal";
  
target="_blank">sample_keyboard_lcd.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/keyboard_lcd.jal";
  
target="_blank">keyboard_lcd.jal</a></td>
+       </tr>
+       </table>

                        <br/>


Modified: trunk/validated/doc/html/lcd_hd44780_4.html
==============================================================================
--- trunk/validated/doc/html/lcd_hd44780_4.html (original)
+++ trunk/validated/doc/html/lcd_hd44780_4.html Tue Dec  9 11:43:03 2008
@@ -214,6 +214,36 @@
                <td><b>16f819</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f819/hello_world_lcd.jal";
  
target="_blank">hello_world_lcd.jal</a></td>
        </tr>
        <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_rtc_lcd.jal";
  
target="_blank">sample_rtc_lcd.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_tc77.jal";
  
target="_blank">sample_tc77.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_keyboard_lcd.jal";
  
target="_blank">sample_keyboard_lcd.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_t6603.jal";
  
target="_blank">sample_t6603.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_sht.jal";
  
target="_blank">sample_sht.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/keyboard_lcd.jal";
  
target="_blank">keyboard_lcd.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/sample_co2_t6603.jal";
  
target="_blank">sample_co2_t6603.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/sample_lcd_format.jal";
  
target="_blank">sample_lcd_format.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/hello_world_lcd.jal";
  
target="_blank">hello_world_lcd.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/sample_rtc_lcd.jal";
  
target="_blank">sample_rtc_lcd.jal</a></td>
+       </tr>
+       <tr>
                <td><b>16f88</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f88/hello_world_lcd.jal";
  
target="_blank">hello_world_lcd.jal</a></td>
        </tr>
        </table>

Modified: trunk/validated/doc/html/menu.html
==============================================================================
--- trunk/validated/doc/html/menu.html  (original)
+++ trunk/validated/doc/html/menu.html  Tue Dec  9 11:43:03 2008
@@ -9,10 +9,13 @@
  <a href='http://jallib.googlecode.com' target='_parent'><i>back to  
jallib</i></a><br/><br/>
  <a href='devicefiles.html' target='lib_desc'>device files</a><br/>
  <a href='adc_hardware.html' target='lib_desc'>adc_hardware</a><br/>
+<a href='calendar.html' target='lib_desc'>calendar</a><br/>
+<a href='co2_t6603.html' target='lib_desc'>co2_t6603</a><br/>
  <a href='delay.html' target='lib_desc'>delay</a><br/>
  <a href='format.html' target='lib_desc'>format</a><br/>
  <a href='i2c_hardware.html' target='lib_desc'>i2c_hardware</a><br/>
  <a href='i2c_software.html' target='lib_desc'>i2c_software</a><br/>
+<a href='keyboard.html' target='lib_desc'>keyboard</a><br/>
  <a href='lcd_hd44780_4.html' target='lib_desc'>lcd_hd44780_4</a><br/>
  <a href='pic_data_eeprom.html' target='lib_desc'>pic_data_eeprom</a><br/>
  <a href='print.html' target='lib_desc'>print</a><br/>
@@ -22,6 +25,7 @@
  <a href='pwm_ccp4.html' target='lib_desc'>pwm_ccp4</a><br/>
  <a href='pwm_ccp5.html' target='lib_desc'>pwm_ccp5</a><br/>
  <a href='pwm_common.html' target='lib_desc'>pwm_common</a><br/>
+<a href='rtc_isr_tmr0.html' target='lib_desc'>rtc_isr_tmr0</a><br/>
  <a href='serial_hardware.html' target='lib_desc'>serial_hardware</a><br/>
  <a href='serial_hw_int_cts.html'  
target='lib_desc'>serial_hw_int_cts</a><br/>
  <a href='serial_software.html' target='lib_desc'>serial_software</a><br/>

Modified: trunk/validated/doc/html/pic_data_eeprom.html
==============================================================================
--- trunk/validated/doc/html/pic_data_eeprom.html       (original)
+++ trunk/validated/doc/html/pic_data_eeprom.html       Tue Dec  9 11:43:03 2008
@@ -32,7 +32,7 @@
                        <b>Adapted-by</b>
                </td>
                <td style="border: 1px solid #aaa; padding: 5px;">
-                       Sebastien Lelong.
+                       Sebastien Lelong, Rob Hamerling.
                </td>
        </tr>
        <tr>
@@ -40,7 +40,7 @@
                        <b>Compiler</b>
                </td>
                <td style="border: 1px solid #aaa; padding: 5px;">
-                       >=2.4g
+                       >=2.4i
                </td>
        </tr>
        </table>
@@ -49,13 +49,53 @@
        
        <b>Description</b>
        <p>
-               <pre>this library can write/read 8-bits data to/from data-eeprom
+               <pre>Read from or write to EEPROM/data a byte, word or double 
word.
+Available procedures:
+  * data_eeprom_read(<offset>,<byte>)
+  * data_eeprom_write(<offset>,<byte>)
+  * data_eeprom_read_word(<offset>,<word>)
+  * data_eeprom_write_word(<ofset>,<word>)
+  * data_eeprom_read_dword(<offset>,<dword>)
+  * data_eeprom_write_dword(<offset>,<dword>)
+Available functions:
+  * <byte> = data_eeprom(<offset>)
+  * <word> = data_eeprom_word(<offset>)
+  * <dword> = data_eeprom_dword(<offset>)
+In all cases <offset> is a position relative to the beginning of
+EEPROM/data memory, thus starts at 0.
+Examples of use:
+  * Read a byte of EEPROM at offset 7 into x:
+        var byte x
+        data_eeprom_read(7, x)
+  * Read a word from EEPROM at offset 4 into y:
+        var word y
+        y = data_eeprom_word(4)
+  * Write a byte to EEPROM at offset 18:
+        data_eeprom_write(18, 0b1111_0000)
  </pre>

        </p>
        <br/>


+       <b>Notes</b>
+       <p>
+               <pre>- Write-protect bits in configuration memory may prohibit 
writing.
+- Writing to locations outside the available memory range may have
+  unexpected effects!
+- Summary of changes
+  + Changed byte-offset to word-offset for larger EEPROMs with 18Fs
+  + Offset and flags settings for read and write in separate procedure.
+  + Moved check for write completed ahead of read and write, for
+    performance (ahead of read needed for read back of same offset).
+  + added 'pragma inline' to several procedures
+  + some other code optimizations
+  + added support for PICs with deviating register names, like 'EEDAT'
+    or EEDATL in stead of 'EEDATA' and EEADRL in stead of EEADR.
+</pre>
+
+       </p>
+       <br/>
        
        <b>Dependencies</b>
        <p>
@@ -75,36 +115,44 @@
                <h3><a name="Procedures">Procedures</a></h3>
                <ul>
                <li>
-                               <b><code name="code" class="python"><a  
href="#f654b2d0889861a2d6d481a191a1ffeb">data_eeprom_read( byte in address,  
byte out data )</a></code></b>
+                               <b><code name="code" class="python"><a  
href="#a89cd535e19f36fa5cc012e4b6976033">data_eeprom_read_word(word in  
offset, word out data)</a></code></b>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#f3a8a25593a420caf5a792f800b739bf">data_eeprom_read_dword(word in  
offset, dword out data)</a></code></b>
                </li>
                <li>
-                               <b><code name="code" class="python"><a  
href="#12f82e147a2367a7038ce3dd565a9e01">data_eeprom_read_dword( byte in  
address, dword out data )</a></code></b>
+                               <b><code name="code" class="python"><a  
href="#de4b2bda80920d2b6a425d095fd316fa">data_eeprom_write_word(word in  
offset, word in data)</a></code></b>
                </li>
                <li>
-                               <b><code name="code" class="python"><a  
href="#b0a256044f04322ab26a97746352811b">data_eeprom_write(byte in address,  
byte in data)</a></code></b>
+                               <b><code name="code" class="python"><a  
href="#0ef19fd07ad1285f901526b4dd02d515">data_eeprom_write_dword(word in  
offset, dword in data)</a></code></b>
                </li>
                <li>
-                               <b><code name="code" class="python"><a  
href="#a8e743661c06d6fcdd8e05c254f986b1">data_eeprom_write_word(byte in  
address, word in data)</a></code></b>
+                               <b><code name="code" class="python"><a  
href="#8eea22dd2b966fbddfbf7f57856bec0c">data_eeprom_write(word in offset,  
byte in data)</a></code></b>
                </li>
                <li>
-                               <b><code name="code" class="python"><a  
href="#f357f0933a11a58fdb54bd08268f38b0">data_eeprom_write_dword(byte in  
address, dword in data)</a></code></b>
+                               <b><code name="code" class="python"><a  
href="#b4f1bb8a84969414bfec5444a836a557">data_eeprom_read(word in offset,  
byte out data)</a></code></b>
                </li>
+       </ul>
+
+       <i><small>Private</small></i>
+               <ul>
                <li>
-                               <b><code name="code" class="python"><a  
href="#d253edfac92fd6b73402161cf2b077fc">data_eeprom_read_word( byte in  
address, word out data )</a></code></b>
+                               <b><code name="code" class="python"><a  
href="#9ed015f3842d16f50e9e2d508e09e273">_prepare_eeprom_access(word in  
offset)</a></code></b>
                </li>
        </ul>

+       <br/>

                <h3><a name="Functions">Functions</a></h3>
                <ul>
                <li>
-                               <b><code name="code" class="python"><a  
href="#dd3b6a98851ea28269a1539f81acb5ee">data_eeprom_word(byte in address)  
return word</a></code></b>
+                               <b><code name="code" class="python"><a  
href="#05f13e4581c836972c190725d89fc129">data_eeprom(word in offset) return  
byte</a></code></b>
                </li>
                <li>
-                               <b><code name="code" class="python"><a  
href="#57a59b1146eb3e48a7aa4ea6f5e93531">data_eeprom(byte in address)  
return byte</a></code></b>
+                               <b><code name="code" class="python"><a  
href="#e2502c7845c750316797ef2847e718f5">data_eeprom_dword(word in offset)  
return dword</a></code></b>
                </li>
                <li>
-                               <b><code name="code" class="python"><a  
href="#6ca86c9d4b7d094691e47fdf04ce4c0c">data_eeprom_dword(byte in address)  
return dword</a></code></b>
+                               <b><code name="code" class="python"><a  
href="#57b2a8d35e30ea8b001ac15b3aa24f37">data_eeprom_word(word in offset)  
return word</a></code></b>
                </li>
        </ul>

@@ -121,70 +169,91 @@
                <h3><a name="Procedures">Procedures</a></h3>
                <ul>
                <li>
-                               <b><code name="code" class="python"><a  
name="f654b2d0889861a2d6d481a191a1ffeb" href="#summary">data_eeprom_read(  
byte in address, byte out data )</a></code></b>
-                               <p>     <pre>Reads a byte from data eeprom at 
given address
-Result is stored in the passed in argument
+                               <b><code name="code" class="python"><a  
name="a89cd535e19f36fa5cc012e4b6976033"  
href="#summary">data_eeprom_read_word(word in offset, word out  
data)</a></code></b>
+                               <p>     <pre>
+Read word from data eeprom at given offset
+Result is stored in the passed in-argument
+
  </pre>
  </p>
                </li>
                <li>
-                               <b><code name="code" class="python"><a  
name="12f82e147a2367a7038ce3dd565a9e01"  
href="#summary">data_eeprom_read_dword( byte in address, dword out data  
)</a></code></b>
-                               <p>     <pre>Reads a dword from data eeprom at 
given address
-Result is stored in the passed in argument
+                               <b><code name="code" class="python"><a  
name="f3a8a25593a420caf5a792f800b739bf"  
href="#summary">data_eeprom_read_dword(word in offset, dword out  
data)</a></code></b>
+                               <p>     <pre>
+Read a dword from data eeprom at given offset
+Result is stored in the passed in-argument
+
  </pre>
  </p>
                </li>
                <li>
-                               <b><code name="code" class="python"><a  
name="b0a256044f04322ab26a97746352811b"  
href="#summary">data_eeprom_write(byte in address, byte in  
data)</a></code></b>
-                               <p>     <pre>Writes a byte to data eeprom at 
given address
-Waits untill finished
+                               <b><code name="code" class="python"><a  
name="de4b2bda80920d2b6a425d095fd316fa"  
href="#summary">data_eeprom_write_word(word in offset, word in  
data)</a></code></b>
+                               <p>     <pre>
+Write word to data eeprom at given offset
+
  </pre>
  </p>
                </li>
                <li>
-                               <b><code name="code" class="python"><a  
name="a8e743661c06d6fcdd8e05c254f986b1"  
href="#summary">data_eeprom_write_word(byte in address, word in  
data)</a></code></b>
-                               <p>     <pre>Writes a word to data eeprom at 
given address
-(based on procedure `data_eeprom_write`)
+                               <b><code name="code" class="python"><a  
name="0ef19fd07ad1285f901526b4dd02d515"  
href="#summary">data_eeprom_write_dword(word in offset, dword in  
data)</a></code></b>
+                               <p>     <pre>
+Write dword to data eeprom at given offset
+
  </pre>
  </p>
                </li>
                <li>
-                               <b><code name="code" class="python"><a  
name="f357f0933a11a58fdb54bd08268f38b0"  
href="#summary">data_eeprom_write_dword(byte in address, dword in  
data)</a></code></b>
-                               <p>     <pre>Writes a dword to data eeprom at 
given address
-(based on procedure `data_eeprom_write`)
+                               <b><code name="code" class="python"><a  
name="8eea22dd2b966fbddfbf7f57856bec0c"  
href="#summary">data_eeprom_write(word in offset, byte in  
data)</a></code></b>
+                               <p>     <pre>
+Write byte to data EEPROM at given offset
+
  </pre>
  </p>
                </li>
                <li>
-                               <b><code name="code" class="python"><a  
name="d253edfac92fd6b73402161cf2b077fc"  
href="#summary">data_eeprom_read_word( byte in address, word out data  
)</a></code></b>
-                               <p>     <pre>Reads a word from data eeprom at 
given address
-Result is stored in the passed in argument
+                               <b><code name="code" class="python"><a  
name="b4f1bb8a84969414bfec5444a836a557"  
href="#summary">data_eeprom_read(word in offset, byte out  
data)</a></code></b>
+                               <p>     <pre>
+Read byte from data EEPROM at given offset
+Result is stored in the passed in-argument
+
  </pre>
  </p>
                </li>
        </ul>

+       <i><small>Private</small></i>
+               <ul>
+               <li>
+                               <b><code name="code" class="python"><a  
name="9ed015f3842d16f50e9e2d508e09e273"  
href="#summary">_prepare_eeprom_access(word in offset)</a></code></b>
+                               <p><i>No documentation found</i></p>
+               </li>
+       </ul>
+
+       <br/>

                <h3><a name="Functions">Functions</a></h3>
                <ul>
                <li>
-                               <b><code name="code" class="python"><a  
name="dd3b6a98851ea28269a1539f81acb5ee"  
href="#summary">data_eeprom_word(byte in address) return word</a></code></b>
-                               <p>     <pre>Reads a word from data eeprom at 
given address
-and return the result
+                               <b><code name="code" class="python"><a  
name="05f13e4581c836972c190725d89fc129" href="#summary">data_eeprom(word in  
offset) return byte</a></code></b>
+                               <p>     <pre>
+Read byte from data EEPROM at given offset and return result
+
  </pre>
  </p>
                </li>
                <li>
-                               <b><code name="code" class="python"><a  
name="57a59b1146eb3e48a7aa4ea6f5e93531" href="#summary">data_eeprom(byte in  
address) return byte</a></code></b>
-                               <p>     <pre>Reads a byte from data eeprom at 
given address
-and return the result
+                               <b><code name="code" class="python"><a  
name="e2502c7845c750316797ef2847e718f5"  
href="#summary">data_eeprom_dword(word in offset) return  
dword</a></code></b>
+                               <p>     <pre>
+Read dword from data eeprom at given offset and return result
+
  </pre>
  </p>
                </li>
                <li>
-                               <b><code name="code" class="python"><a  
name="6ca86c9d4b7d094691e47fdf04ce4c0c"  
href="#summary">data_eeprom_dword(byte in address) return  
dword</a></code></b>
-                               <p>     <pre>Reads a dword from data eeprom at 
given address
-and return the result
+                               <b><code name="code" class="python"><a  
name="57b2a8d35e30ea8b001ac15b3aa24f37"  
href="#summary">data_eeprom_word(word in offset) return word</a></code></b>
+                               <p>     <pre>
+Read word from data eeprom at given offset and return result
+
  </pre>
  </p>
                </li>
@@ -197,7 +266,16 @@
        Here are the list of samples which use this library:<br/><br/>
        <table border=1>
        <tr>
+               <td><b>16f648a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f648a/data_eeprom_16f648a.jal";
  
target="_blank">data_eeprom_16f648a.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f88</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f88/data_eeprom_16f88.jal";
  
target="_blank">data_eeprom_16f88.jal</a></td>
+       </tr>
+       <tr>
                <td><b>16f88</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f88/remember_me.jal";
  
target="_blank">remember_me.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>18f2620</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/18f2620/data_eeprom_18f2620.jal";
  
target="_blank">data_eeprom_18f2620.jal</a></td>
        </tr>
        </table>


Modified: trunk/validated/doc/html/print.html
==============================================================================
--- trunk/validated/doc/html/print.html (original)
+++ trunk/validated/doc/html/print.html Tue Dec  9 11:43:03 2008
@@ -285,7 +285,34 @@
                <td><b>16f819</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f819/hello_world_lcd.jal";
  
target="_blank">hello_world_lcd.jal</a></td>
        </tr>
        <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_rtc_lcd.jal";
  
target="_blank">sample_rtc_lcd.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_tc77.jal";
  
target="_blank">sample_tc77.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_keyboard_lcd.jal";
  
target="_blank">sample_keyboard_lcd.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_t6603.jal";
  
target="_blank">sample_t6603.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_sht.jal";
  
target="_blank">sample_sht.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/keyboard_lcd.jal";
  
target="_blank">keyboard_lcd.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/sample_co2_t6603.jal";
  
target="_blank">sample_co2_t6603.jal</a></td>
+       </tr>
+       <tr>
                <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/print_serial_numbers.jal";
  
target="_blank">print_serial_numbers.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/hello_world_lcd.jal";
  
target="_blank">hello_world_lcd.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/sample_rtc_lcd.jal";
  
target="_blank">sample_rtc_lcd.jal</a></td>
        </tr>
        <tr>
                <td><b>16f88</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f88/hello_world_lcd.jal";
  
target="_blank">hello_world_lcd.jal</a></td>

Added: trunk/validated/doc/html/rtc_isr_tmr0.html
==============================================================================
--- (empty file)
+++ trunk/validated/doc/html/rtc_isr_tmr0.html  Tue Dec  9 11:43:03 2008
@@ -0,0 +1,213 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<html>
+    <head>
+    </head>
+    <body>
+                       <div id="page">
+
+            <div id="pagecontent">
+
+                       
+    <h1>rtc_isr_tmr0</h1>
+
+    <div>
+               <font size="+1"><i>Real Time Clock running from ISR on 
TMR0</i></font>
+       </div>
+
+       <br/>
+
+    <div class="narrow">
+
+       <table>
+       <tr>
+               <td style="border: 1px solid #aaa; padding: 5px;">
+                       <b>Author</b>
+               </td>
+               <td style="border: 1px solid #aaa; padding: 5px;">
+                       Eur van Andel, Copyright (c) 2003..2008, all rights 
reserved.
+               </td>
+       </tr>
+       <tr>
+               <td style="border: 1px solid #aaa; padding: 5px;">
+                       <b>Adapted-by</b>
+               </td>
+               <td style="border: 1px solid #aaa; padding: 5px;">
+                       
+               </td>
+       </tr>
+       <tr>
+               <td style="border: 1px solid #aaa; padding: 5px;">
+                       <b>Compiler</b>
+               </td>
+               <td style="border: 1px solid #aaa; padding: 5px;">
+                       >=2.4h
+               </td>
+       </tr>
+       </table>
+
+       <br/>
+       
+       <b>Description</b>
+       <p>
+               <pre>This Interrupt Service Routine updates the variable 
seconds about  
once per second.
+The precision is 0.2 ppm, the accuracy depends on the Xtal used.
+</pre>
+
+       </p>
+       <br/>
+
+       <b>Sources</b>
+       <p>
+               <pre>http://www.romanblack.com/one_sec.htm,  
http://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm
+</pre>
+
+       </p>
+       <br/>
+
+       <b>Notes</b>
+       <p>
+               <pre>This is the Bresenham Line Algorithm, invented at IBM in 
1962,  
which gets an accurate end result
+by summing the small errors resulting of taking discrete steps and  
correcting when the error gets too large.
+This means that individual second lengths may show some jitter, but that  
long-term timekeeping is accurate.
+Original assembler by Roman Black.
+</pre>
+
+       </p>
+       <br/>
+       
+       <b>Dependencies</b>
+       <p>
+               <i>No dependency found</i>
+       </p>
+       <br/>
+
+
+                       <br/>
+                               <h2><a name="summary">Summary</a></h2>
+
+               <h3><a name="Global variables/contants">Global  
variables/contants</a></h3>
+               <ul>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#1948e74bdfa500d3211f9bed2c8bbf05">var volatile byte  
seconds                 -- updated by ISR
+</a></code></b>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#e670ecfa0b6477fcd75f0e1f32a67fd5">const mid = 0x4B
+</a></code></b>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#693b65244778f1726513e37fabfb34fa">var volatile byte bres_lo  = lo
+</a></code></b>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#f39ae8a40a533d347add034b8e8e7e55">const lo  = 0x40  -- ideally  
modified in timeset too, to adjust clock
+</a></code></b>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#d054c746021e9e7977131ade25bbb8f5">var volatile byte bres_hi  = hi
+</a></code></b>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#af000f00587a12b7d70fcb4052fb4f8c">const hi  = 0x4C  -- 2 000 000 for  
20 MHz xtal and prescaler = 4
+</a></code></b>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#d7c902f45f340548836f2cafe4ecc2a2">var volatile byte bres_mid = mid
+</a></code></b>
+               </li>
+       </ul>
+
+
+               <h3><a name="Procedures">Procedures</a></h3>
+               <ul>
+               <li>
+                               <b><code name="code" class="python"><a  
href="#7d9714b98af9bf7a019d269364217f52">RTC()</a></code></b>
+               </li>
+       </ul>
+
+
+               <h3><a name="Functions">Functions</a></h3>
+               <ul>
+       </ul>
+
+
+
+                       <br/>
+                               <h2><a name="api">API details</a></h2>
+
+               <h3><a name="Global variables/contants">Global  
variables/contants</a></h3>
+               <ul>
+               <li>
+                               <b><code name="code" class="python"><a  
name="1948e74bdfa500d3211f9bed2c8bbf05" href="#summary">var volatile byte  
seconds                 -- updated by ISR
+</a></code></b>
+                               <p><i>No documentation found</i></p>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
name="e670ecfa0b6477fcd75f0e1f32a67fd5" href="#summary">const mid = 0x4B
+</a></code></b>
+                               <p><i>No documentation found</i></p>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
name="693b65244778f1726513e37fabfb34fa" href="#summary">var volatile byte  
bres_lo  = lo
+</a></code></b>
+                               <p><i>No documentation found</i></p>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
name="f39ae8a40a533d347add034b8e8e7e55" href="#summary">const lo  = 0x40   
-- ideally modified in timeset too, to adjust clock
+</a></code></b>
+                               <p><i>No documentation found</i></p>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
name="d054c746021e9e7977131ade25bbb8f5" href="#summary">var volatile byte  
bres_hi  = hi
+</a></code></b>
+                               <p><i>No documentation found</i></p>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
name="af000f00587a12b7d70fcb4052fb4f8c" href="#summary">const hi  = 0x4C   
-- 2 000 000 for 20 MHz xtal and prescaler = 4
+</a></code></b>
+                               <p><i>No documentation found</i></p>
+               </li>
+               <li>
+                               <b><code name="code" class="python"><a  
name="d7c902f45f340548836f2cafe4ecc2a2" href="#summary">var volatile byte  
bres_mid = mid
+</a></code></b>
+                               <p><i>No documentation found</i></p>
+               </li>
+       </ul>
+
+
+               <h3><a name="Procedures">Procedures</a></h3>
+               <ul>
+               <li>
+                               <b><code name="code" class="python"><a  
name="7d9714b98af9bf7a019d269364217f52" href="#summary">RTC()</a></code></b>
+                               <p><i>No documentation found</i></p>
+               </li>
+       </ul>
+
+
+               <h3><a name="Functions">Functions</a></h3>
+               <ul>
+       </ul>
+
+
+
+                       <br/>
+                               <h2><a name="related_samples">Related 
samples</a></h2>
+       Here are the list of samples which use this library:<br/><br/>
+       <table border=1>
+       <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_rtc_lcd.jal";
  
target="_blank">sample_rtc_lcd.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/sample_rtc_lcd.jal";
  
target="_blank">sample_rtc_lcd.jal</a></td>
+       </tr>
+       </table>
+
+                       <br/>
+
+            </div>
+        </div>
+
+
+       </body>
+</html>
+

Modified: trunk/validated/doc/html/serial_hardware.html
==============================================================================
--- trunk/validated/doc/html/serial_hardware.html       (original)
+++ trunk/validated/doc/html/serial_hardware.html       Tue Dec  9 11:43:03 2008
@@ -284,7 +284,13 @@
        Here are the list of samples which use this library:<br/><br/>
        <table border=1>
        <tr>
+               <td><b>16f876a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f876a/sample_t6603.jal";
  
target="_blank">sample_t6603.jal</a></td>
+       </tr>
+       <tr>
                <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/print_serial_numbers.jal";
  
target="_blank">print_serial_numbers.jal</a></td>
+       </tr>
+       <tr>
+               <td><b>16f877a</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f877a/sample_co2_t6603.jal";
  
target="_blank">sample_co2_t6603.jal</a></td>
        </tr>
        <tr>
                <td><b>16f88</b></td><td><a  
href="http://code.google.com/p/jallib/source/browse/trunk/validated/sample/by_device/16f88/serial_hw_echo.jal";
  
target="_blank">serial_hw_echo.jal</a></td>

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