Author: sebastien.lelong
Date: Sun Oct 26 08:29:58 2008
New Revision: 481
Added:
trunk/validated/include/jal/delay.jal
- copied unchanged from r477, /trunk/unvalidated/include/jal/delay.jal
Removed:
trunk/validated/include/jal/delay_any_mc.jal
Modified:
trunk/validated/include/external/lcd/lcd_hd44780_4.jal
trunk/validated/sample/by_device/16f690/hello_world_lcd.jal
trunk/validated/sample/by_device/16f819/hello_world_lcd.jal
trunk/validated/sample/by_device/16f877a/print_serial_numbers.jal
trunk/validated/sample/by_device/16f88/adc_lowres.jal
trunk/validated/sample/by_device/16f88/delay_basic.jal
trunk/validated/sample/by_device/16f88/hello_world_lcd.jal
trunk/validated/sample/by_device/16f88/print_serial_numbers.jal
Log:
include last modif about delay lib to validated map
Modified: trunk/validated/include/external/lcd/lcd_hd44780_4.jal
==============================================================================
--- trunk/validated/include/external/lcd/lcd_hd44780_4.jal (original)
+++ trunk/validated/include/external/lcd/lcd_hd44780_4.jal Sun Oct 26
08:29:58 2008
@@ -16,7 +16,7 @@
-- Expects: - 2 pins for handshake: 'lcd_rs' and 'lcd_en'
-- - 1 port nibble for data: 'lcd_dataport'
--
--- Dependencies: delay_any_mc.jal
+-- Dependencies: delay.jal
--
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
--
@@ -64,7 +64,7 @@
--
--
-----------------------------------------------------------------------------
-include delay_any_mc -- standard delay
procedures
+include delay -- standard delay procedures
-- -----------------------------------------------------
-- Write nibble (lower order 4 bits of byte) to LCD.
Modified: trunk/validated/sample/by_device/16f690/hello_world_lcd.jal
==============================================================================
--- trunk/validated/sample/by_device/16f690/hello_world_lcd.jal (original)
+++ trunk/validated/sample/by_device/16f690/hello_world_lcd.jal Sun Oct 26
08:29:58 2008
@@ -33,7 +33,7 @@
include lcd_hd44780_4 -- LCD library with 4 data lines
include print -- formatted output library
-include delay_any_mc -- delay library
+include delay -- delay library
for 4 loop -- blink LED 4 times
LED = on
Modified: trunk/validated/sample/by_device/16f819/hello_world_lcd.jal
==============================================================================
--- trunk/validated/sample/by_device/16f819/hello_world_lcd.jal (original)
+++ trunk/validated/sample/by_device/16f819/hello_world_lcd.jal Sun Oct 26
08:29:58 2008
@@ -36,7 +36,7 @@
include lcd_hd44780_4 -- LCD library with 4 data lines
include print -- formatted output library
-include delay_any_mc -- delay library
+include delay -- delay library
const byte str1[] = "Hello world!" -- define strings
const byte str2[] = "third line"
Modified: trunk/validated/sample/by_device/16f877a/print_serial_numbers.jal
==============================================================================
--- trunk/validated/sample/by_device/16f877a/print_serial_numbers.jal
(original)
+++ trunk/validated/sample/by_device/16f877a/print_serial_numbers.jal Sun
Oct 26 08:29:58 2008
@@ -22,7 +22,7 @@
pragma target BROWNOUT enabled
pragma target LVP disabled
-include delay_any_mc
+include delay
-- setup serial (see echo.jal for more details)
const usart_hw_serial = true -- true = RS232, false = SPI
Modified: trunk/validated/sample/by_device/16f88/adc_lowres.jal
==============================================================================
--- trunk/validated/sample/by_device/16f88/adc_lowres.jal (original)
+++ trunk/validated/sample/by_device/16f88/adc_lowres.jal Sun Oct 26
08:29:58 2008
@@ -46,7 +46,7 @@
-- no watchdog, please
pragma target WDT disabled
-include delay_any_mc
+include delay
-- ok, now setup serial
const usart_hw_serial = true -- true = RS232, false = SPI
const serial_hw_baudrate = 19_200
Modified: trunk/validated/sample/by_device/16f88/delay_basic.jal
==============================================================================
--- trunk/validated/sample/by_device/16f88/delay_basic.jal (original)
+++ trunk/validated/sample/by_device/16f88/delay_basic.jal Sun Oct 26
08:29:58 2008
@@ -1,4 +1,4 @@
--- Title: Sample showing how to use delay_any_mc library
+-- Title: Sample showing how to use delay library
-- Author: Sebastien Lelong, Copyright (c) 2008, all rights reserved.
-- Adapted-by:
-- Compiler: >=2.4g
@@ -6,7 +6,7 @@
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
--
--- Description: this sample shows how to use delay_any_mc library. This
very useful library
+-- Description: this sample shows how to use delay library. This very
useful library
-- contains delay procedures, and can be used whatever the oscillator
speed used.
--
-- Notes: as output, this sample produces characters on a serial link.
First be sure you're able
@@ -34,7 +34,7 @@
serial_hw_write("!")
-- famous delay lib !
-include delay_any_mc
+include delay
-- will periodically send those chars
var byte chars_to_send[8] = {"a","B","c","d","e","F","g","H"}
Modified: trunk/validated/sample/by_device/16f88/hello_world_lcd.jal
==============================================================================
--- trunk/validated/sample/by_device/16f88/hello_world_lcd.jal (original)
+++ trunk/validated/sample/by_device/16f88/hello_world_lcd.jal Sun Oct 26
08:29:58 2008
@@ -34,7 +34,7 @@
include lcd_hd44780_4 -- LCD library with 4 data lines
include print -- formatted output library
-include delay_any_mc -- delay library
+include delay -- delay library
for 4 loop -- blink LED 4 times
LED = on
Modified: trunk/validated/sample/by_device/16f88/print_serial_numbers.jal
==============================================================================
--- trunk/validated/sample/by_device/16f88/print_serial_numbers.jal
(original)
+++ trunk/validated/sample/by_device/16f88/print_serial_numbers.jal Sun Oct
26 08:29:58 2008
@@ -22,7 +22,7 @@
-- no watchdog, please
pragma target WDT disabled
-include delay_any_mc
+include delay
-- setup serial (see echo.jal for more details)
const usart_hw_serial = true -- true = RS232, false = SPI
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---