Author: eur.van.andel
Date: Wed Nov 12 10:37:28 2008
New Revision: 536
Modified:
trunk/unvalidated/sample/by_device/16f876a/sample_keyboard_lcd.jal
trunk/unvalidated/sample/by_device/16f876a/sample_rtc_timeset.jal
trunk/unvalidated/sample/by_device/16f876a/sample_sht.jal
Log:
descrition fields terminated like it should, paretheses added. All from
buildbot remarks
Modified: trunk/unvalidated/sample/by_device/16f876a/sample_keyboard_lcd.jal
==============================================================================
--- trunk/unvalidated/sample/by_device/16f876a/sample_keyboard_lcd.jal
(original)
+++ trunk/unvalidated/sample/by_device/16f876a/sample_keyboard_lcd.jal Wed
Nov 12 10:37:28 2008
@@ -4,8 +4,7 @@
-- Compiler: >=2.4g
--
-- This file is part of jallib (http://jallib.googlecode.com)
--- Released under the BSD license
--- (http://www.opensource.org/licenses/bsd-license.php)
+-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
--
-- Description: this program shows how to use the keyboard library.
-- The librar has only one function: getkey(). This function returns 0..15,
@@ -19,7 +18,7 @@
-- In this example, the datanibble of the LCD screen is re-used.
-- Wire the PIC pins with diodes to the keyboard so you don't fry the pins.
-- Use 10k pulldowns for the input port
---s
+--
include 16f876a -- can be any PIC,
-- but should have 8 pins for keyboard
Modified: trunk/unvalidated/sample/by_device/16f876a/sample_rtc_timeset.jal
==============================================================================
--- trunk/unvalidated/sample/by_device/16f876a/sample_rtc_timeset.jal
(original)
+++ trunk/unvalidated/sample/by_device/16f876a/sample_rtc_timeset.jal Wed
Nov 12 10:37:28 2008
@@ -13,6 +13,7 @@
-- via the timeset.py script, which writes the now.jal file
-- The user can set the time via the timeset() procedure,
-- which uses the keyboard and LCD. This layout is tailored to a 20x4 LCD.
+--
-- ------------------- SELECT PIC ----------------------------
include 16f877a
@@ -69,7 +70,7 @@
-- ------------------------ PROCEDURES ------------------------
-procedure time_set is
+procedure time_set() is
lcd_clearscreen()
while getkey() != 0x0C loop -- wait until C, bottom right key
Modified: trunk/unvalidated/sample/by_device/16f876a/sample_sht.jal
==============================================================================
--- trunk/unvalidated/sample/by_device/16f876a/sample_sht.jal (original)
+++ trunk/unvalidated/sample/by_device/16f876a/sample_sht.jal Wed Nov 12
10:37:28 2008
@@ -10,6 +10,7 @@
-- But the byte procedure with 1% RH precision and the word procedure with
0.01% RH precision are used.
-- Humidty is read every second: doing this every 500ms or faster heats
the sensor, lowers the value,
-- so does not give accurate readings.
+--
-- select PIC
include 16f876a
@@ -36,7 +37,7 @@
include format -- more nice formatting
var bit SHT_DATA is pin_a3 -- data in/out of SHTxx
-var bit SHT_DATA_dir is pin_a3_direction -- fake-I2C requires bi-dir
comms
+var bit SHT_DATA_DIR is pin_a3_direction -- fake-I2C requires bi-dir
comms
var bit SHT_SCK is pin_a4 -- clock of SHTxx
pin_a4_direction = output -- pin_a4 needs pullup on
some PICs
include humidity_sht -- library
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---