Many thanks to everyone who assisted with getting me on the right track for the K22.
I thought it might be useful to post up what works for me.
Version 2.2.0.3 of the IDE
These two files
http://www.ciseco.co.uk/downloads/PIC%2 ... F25K22.bas
http://www.ciseco.co.uk/downloads/PIC%2 ... F25K22.inc
Put them in
Windows XP - c:\program files\mecanique\swordfish\includes\
Windows Vista & 7 - c:\users\all users\mecanique\swordfish\includes\ (HINT: windows often hides this folder, cut and paste the path instead of browsing to it.)
That should be it.
Here's a blinky to test
‘ BLINK LED
Device = 18f25k22
Clock = 16
Main:
High(PORTB.6)
DelayMS (500)
Low(PORTB.6)
DelayMS (500)
GoTo main
Miles
18F25K22 what works for me
Moderators: David Barker, Jerry Messina
18F25K22 what works for me
Ciseco plc - www.ciseco.co.uk
Low cost development hardware and software for building embeded prototypes and wireless sensor networks.
Low cost development hardware and software for building embeded prototypes and wireless sensor networks.
Cheers Miles
digital-diy.com - Hobby microcontroller projects and tutorials. Assembly, PICBasic and C examples.
Australian distributor for the Swordfish Compiler
Australian distributor for the Swordfish Compiler