Config settings vary from device to device. If you open the device include file (18F43K22.bas) you can see your choices.
(in the Code Explorer pane of the SF IDE, clicking on 'Includes | 18F43K22' should open the file in an editor window).
Scroll down to the section
... and if you want to experiment with using the internal osc, there's a module that will take care of all that for you.
Just change the 'clock=xx' setting , include "intosc.bas", and it'll add code to the startup routine to set the config, the osc regs, and PLL (if needed)
I was right then - I really did have no idea what I was talking about
Must look at that 18F43K22.bas file to see what else I can learn...
I have updated the project 6 post #52 with the config settings that I think are important for my set-up
Really appreciate you taking the time to answer newbie questions.
Hopefully I will get enough confidence soon to be able to work out more of this for myself.
It uses those files to get all the info to generate the various modules, but the compiler itself should be standalone.
No problem helping out... I like exposing new users to Swordfish.
I use a lot of different development tools and languages, but for the PIC18 Swordfish is one of my favorite tools.
People see BASIC and go "eww". IMHO this is definitely one worth checking out.
Thanks - I think I get it for now (until next dumb question)
Took me a while, as the P18F43K22.BAS file is in a hidden directory. Once I turned on view-hidden-files, things become much clearer.
... and I can now see the default settings
Your recommendation makes me want to buy the full version, but whilst the price is reasonable, would I actually use it? Have to think...
been stalled on my other projects waiting for circuit boards as well as more parts.
In the mean time I am going to reboot this project using the pic18f43k22.
wonder if an lcd display would help to debug or better yet to get the uart feature using two pickit 2"s??
When developing code, it's often handy to observe variables at certain points, or to see when certain parts of code are executed. One way to gain some insight into program execution is to flash an LED at certain points or if a variable is within a certain range. If you use a PICkit 2 with the...