Hi,
You are really on the wrong forum here. Microchip (who manufacture the chip) have their own forum which is actually quite good. Here's the link ....
[
^]
You will need to refer to the data sheet for specific of how to setup the chip and the Hitech compiler help for information on what and how to call the relevent functions. (I don't use Hitech so I cannot help you there).
There are not many embedded programmers here
anymore.
Best of Luck, :)
[edit]FTFY! But there are still a few of us kicking about. :laugh: [/edit]
[edit]
(I didn't know you were one too! :laugh: Ali)[/edit]
[edit](Yup. Started with embedded Z80 straight out of Uni, and moved up, down and sideways through HD64180/Z180 "Z80 with knobs on", SGS, PICs, and ARM, depending on need and hardware designer.)[/edit]
[edit
](Us 6502 developers were really jealous of your Z80 with its 16 bit registers! :mad: .... :-D )[/edit]
[edit]Oh yes - and fully vectored interrupts, a movable stack pointer, alternate register set for fast interrupt processing! Still only a 64K address range though... :sigh: When I think what we did in 32K ROM & 32K RAM it amazes me sometimes :-D [/edit]
[edit]Show off! ;P [/edit]