Revision: 1482 Author: robhamerling Date: Wed Nov 18 00:53:30 2009 Log: added blink sample for 12f617
http://code.google.com/p/jallib/source/detail?r=1482 Added: /trunk/sample/16f819_blink_intosc.jal Modified: /trunk/TORELEASE /trunk/sample/12f617_blink.jal ======================================= --- /dev/null +++ /trunk/sample/16f819_blink_intosc.jal Wed Nov 18 00:53:30 2009 @@ -0,0 +1,32 @@ +-- Title: Blink 18F819 LED using internal oscillator +-- Author: William Welch Copyright (c) 2009, all rights reserved. +-- Sponsored by: Fiwihex www.fiwihex.com +-- Compiler: 2.4 +-- +-- This file is part of jallib (http://jallib.googlecode.com) +-- Released under the ZLIB license (http://www.opensource.org/licenses/zlib-license.html) +-- +-- Description: blinks LED with one-half second delay +-- + +include 16f819 +pragma target fuses 0x3F30 +pragma target clock 8_000_000 + +OSCCON = 0x70 +asm nop +asm nop + +include delay + +enable_digital_io() + +alias led is pin_A0 +pin_A0_direction = output + +forever loop +led = led ^ 1 +delay_100ms(5) +end loop + + ======================================= --- /trunk/TORELEASE Fri Nov 13 14:20:33 2009 +++ /trunk/TORELEASE Wed Nov 18 00:53:30 2009 @@ -223,6 +223,7 @@ include/jal/delay.jal include/jal/format.jal include/jal/jascii.jal +include/jal/large_array_1.jal include/jal/math.jal include/jal/print.jal include/jal/profiler.jal @@ -233,7 +234,6 @@ include/jal/random.jal include/jal/rtc_isr_tmr0.jal include/jal/unittest.jal -include/jal/large_array_1.jal # Peripherals include/peripheral/adc/adc.jal @@ -301,7 +301,9 @@ sample/12f519_blink.jal sample/12f609_blink.jal sample/12f615_blink.jal +sample/12f617_blink.jal sample/12f629_blink.jal +sample/12f629_blink_intosc.jal sample/12f635_blink.jal sample/12f675_blink.jal sample/12f683_blink.jal @@ -389,6 +391,7 @@ sample/16f785_blink.jal sample/16f818_blink.jal sample/16f819_blink.jal +sample/16f819_blink_int_osc.jal sample/16f819_lcd_hd44780_4_1.jal sample/16f819_lcd_hd44780_4_4.jal sample/16f84a_blink.jal @@ -605,6 +608,7 @@ sample/18f4510_blink.jal sample/18f4515_blink.jal sample/18f452_blink.jal +sample/18f452_large_array.jal sample/18f452_sd_card.jal sample/18f4520_blink.jal sample/18f4523_blink.jal @@ -689,4 +693,3 @@ sample/18lf25j10_blink.jal sample/18lf44j10_blink.jal sample/18lf45j10_blink.jal -sample/18f452_large_array.jal ======================================= --- /trunk/sample/12f617_blink.jal Thu Nov 5 04:00:23 2009 +++ /trunk/sample/12f617_blink.jal Wed Nov 18 00:53:30 2009 @@ -16,7 +16,7 @@ -- Sources: -- -- Notes: --- - File creation date/time: 5 Nov 2009 11:48:30. +-- - File creation date/time: 18 Nov 2009 09:31:00. -- -- ------------------------------------------------------ -- -- 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=.
