Author: sebastien.lelong
Date: Tue Dec 23 00:50:39 2008
New Revision: 639
Modified:
trunk/unvalidated/sample/by_device/16f88/adc_lowres.jal
trunk/unvalidated/sample/by_device/16f88/delay_basic.jal
trunk/unvalidated/sample/by_device/16f88/print_serial_numbers.jal
trunk/unvalidated/sample/by_device/16f88/pwm_led.jal
trunk/unvalidated/sample/by_device/16f88/pwm_led_highres.jal
trunk/unvalidated/sample/by_device/16f88/pwm_sound.jal
trunk/unvalidated/sample/by_device/16f88/remember_me.jal
trunk/unvalidated/sample/by_device/16f88/serial_hw_echo.jal
trunk/unvalidated/sample/by_device/16f88/serial_sw_echo.jal
Log:
fix for INTOSC: set IRCF = 7 so no postscaler and clock really runs @8MHz
Modified: trunk/unvalidated/sample/by_device/16f88/adc_lowres.jal
==============================================================================
--- trunk/unvalidated/sample/by_device/16f88/adc_lowres.jal (original)
+++ trunk/unvalidated/sample/by_device/16f88/adc_lowres.jal Tue Dec 23
00:50:39 2008
@@ -43,6 +43,8 @@
-- We'll use internal oscillator. It work @ 8MHz
pragma target CLOCK 8_000_000
pragma target OSC INTOSC_NOCLKOUT
+-- Specify no postscaler, ie. really runs @8MHz
+OSCCON_IRCF = 0b_111
-- no watchdog, please
pragma target WDT disabled
Modified: trunk/unvalidated/sample/by_device/16f88/delay_basic.jal
==============================================================================
--- trunk/unvalidated/sample/by_device/16f88/delay_basic.jal (original)
+++ trunk/unvalidated/sample/by_device/16f88/delay_basic.jal Tue Dec 23
00:50:39 2008
@@ -21,6 +21,8 @@
-- We'll use internal oscillator. It work @ 8MHz
pragma target clock 8_000_000
pragma target OSC INTOSC_NOCLKOUT
+-- Specify no postscaler, ie. really runs @8MHz
+OSCCON_IRCF = 0b_111
-- no watchdog, please
pragma target WDT disabled
Modified: trunk/unvalidated/sample/by_device/16f88/print_serial_numbers.jal
==============================================================================
--- trunk/unvalidated/sample/by_device/16f88/print_serial_numbers.jal
(original)
+++ trunk/unvalidated/sample/by_device/16f88/print_serial_numbers.jal Tue
Dec 23 00:50:39 2008
@@ -19,6 +19,8 @@
-- We'll use internal oscillator. It work @ 8MHz
pragma target clock 8_000_000
pragma target OSC INTOSC_NOCLKOUT
+-- Specify no postscaler, ie. really runs @8MHz
+OSCCON_IRCF = 0b_111
-- no watchdog, please
pragma target WDT disabled
Modified: trunk/unvalidated/sample/by_device/16f88/pwm_led.jal
==============================================================================
--- trunk/unvalidated/sample/by_device/16f88/pwm_led.jal (original)
+++ trunk/unvalidated/sample/by_device/16f88/pwm_led.jal Tue Dec 23
00:50:39 2008
@@ -20,6 +20,8 @@
-- We'll use internal oscillator. It work @ 8MHz
pragma target clock 8_000_000
pragma target OSC INTOSC_NOCLKOUT
+-- Specify no postscaler, ie. really runs @8MHz
+OSCCON_IRCF = 0b_111
-- no watchdog, please
pragma target WDT disabled
Modified: trunk/unvalidated/sample/by_device/16f88/pwm_led_highres.jal
==============================================================================
--- trunk/unvalidated/sample/by_device/16f88/pwm_led_highres.jal
(original)
+++ trunk/unvalidated/sample/by_device/16f88/pwm_led_highres.jal Tue Dec
23
00:50:39 2008
@@ -20,6 +20,8 @@
-- We'll use internal oscillator. It work @ 8MHz
pragma target clock 8_000_000
pragma target OSC INTOSC_NOCLKOUT
+-- Specify no postscaler, ie. really runs @8MHz
+OSCCON_IRCF = 0b_111
-- no watchdog, please
pragma target WDT disabled
Modified: trunk/unvalidated/sample/by_device/16f88/pwm_sound.jal
==============================================================================
--- trunk/unvalidated/sample/by_device/16f88/pwm_sound.jal (original)
+++ trunk/unvalidated/sample/by_device/16f88/pwm_sound.jal Tue Dec 23
00:50:39 2008
@@ -22,6 +22,8 @@
-- We'll use internal oscillator. It work @ 8MHz
pragma target clock 8_000_000
pragma target OSC INTOSC_NOCLKOUT
+-- Specify no postscaler, ie. really runs @8MHz
+OSCCON_IRCF = 0b_111
-- no watchdog, please
pragma target WDT disabled
Modified: trunk/unvalidated/sample/by_device/16f88/remember_me.jal
==============================================================================
--- trunk/unvalidated/sample/by_device/16f88/remember_me.jal (original)
+++ trunk/unvalidated/sample/by_device/16f88/remember_me.jal Tue Dec 23
00:50:39 2008
@@ -40,6 +40,8 @@
-- We'll use internal oscillator. It work @ 8MHz
pragma target clock 8_000_000
pragma target OSC INTOSC_NOCLKOUT
+-- Specify no postscaler, ie. really runs @8MHz
+OSCCON_IRCF = 0b_111
-- no watchdog, please
pragma target WDT disabled
Modified: trunk/unvalidated/sample/by_device/16f88/serial_hw_echo.jal
==============================================================================
--- trunk/unvalidated/sample/by_device/16f88/serial_hw_echo.jal (original)
+++ trunk/unvalidated/sample/by_device/16f88/serial_hw_echo.jal Tue Dec 23
00:50:39 2008
@@ -18,6 +18,8 @@
-- We'll use internal oscillator. It work @ 8MHz
pragma target clock 8_000_000
pragma target OSC INTOSC_NOCLKOUT
+-- Specify no postscaler, ie. really runs @8MHz
+OSCCON_IRCF = 0b_111
-- no watchdog, please
pragma target WDT disabled
Modified: trunk/unvalidated/sample/by_device/16f88/serial_sw_echo.jal
==============================================================================
--- trunk/unvalidated/sample/by_device/16f88/serial_sw_echo.jal (original)
+++ trunk/unvalidated/sample/by_device/16f88/serial_sw_echo.jal Tue Dec 23
00:50:39 2008
@@ -18,6 +18,8 @@
-- We'll use internal oscillator. It work @ 8MHz
pragma target clock 8_000_000
pragma target OSC INTOSC_NOCLKOUT
+-- Specify no postscaler, ie. really runs @8MHz
+OSCCON_IRCF = 0b_111
-- no watchdog, please
pragma target WDT disabled
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---