I verified 18f67j50. LED blinks at the correct speed. Although your blink sample is working, isn't it desirable to have less hardware? Maybe internal OSC is better?
include 18f67j50 -- target PICmicro -- include chip pragma target clock 48_000_000 -- oscillator frequency -- configuration memory settings (fuses) pragma target PLLDIV P2 -- divide by 2 pragma target CPUDIV P1 -- no cpu system clock divide pragma target OSC INTOSC_NOCLKOUT_PLL -- HS crystal or resonator pragma target FCMEN DISABLED -- no fail-safe clock monitoring pragma target IESO DISABLED -- no int/ext clock switchover pragma target WDT DISABLED -- no watchdog pragma target XINST DISABLED -- not supported by JalV2 pragma target DEBUG DISABLED -- no debugging -- OSCTUNE_PLLEN = 1 -- set 96mhz pll OSCCON_SCS = 0b00 -- enable_digital_io() -- disable all analog pins if any Matt. -- 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.
