two different codes but no file??

Status
Not open for further replies.

MrDEB

Well-Known Member
Tried locating a file INTOSC8.bas
Does one have to make this them selves or is it in some where I have yet to look for??
be80be posted some code with
INCLUDE "INTOSC8.bas"
playing with an LED PWM (simulating a burning candle) that calls for same file
?????????????
 
Lol All you do is open up note pad paste this code in it and save as all files with the name
INTOSC8.bas to your swordfish user library
Code:
Module IntOSC8

OSCCON = $72
I bet I posted this more then 1 time LOL
The only reason you need it is because your using the beloved 18f1320 and for some reason when you write code it will not let you set the osc up at the start of your
code mostly if your using swordfish modules. And what happens is you'll think your code is not running because it running so slow you can't see any thing happen. this fixes that
 
Last edited:

Seems kinda' silly to have a seperate file with that one line in it. Surely there's a work-around for this problem, isn't there?
 
Seems kinda' silly to have a seperate file with that one line in it. Surely there's a work-around for this problem, isn't there?
You think there would be but even the man who wrote swordfish said that's the only fix he knows for it
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…