Unfortunately I am having a rather strange / annoying problem where I can compile a piece of code perfectly fine in SF when using the standard 18F26K22.bas file.
BUT
If I save the 18F26K22.bas file to my user library and name it something different like 18F26K22New.bas (and then modify the code to include the renamed file). It will no longer compile but give me a whole heap of compilation errors.
Just to be as clear as I can, here is how I include the file when it works:
Code: Select all
Device = 18F26k22
I then modify my code to:
Code: Select all
Device = 18F26k22New
On another similar note - Where is the original 18f26k22 file located? is it an actual file or is it somehow embedded into SF? Because I can find a whole lot of other files in the Swordfish\Includes folder, but 18f26k22 is not one of them, even though SF recognises it.