If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
For those who want to compile their own Hex code, I had a crack and it seems to work.
Download MPLAB ver 8.76, it comes with the Hi Tech compiler.
Install Mplab 8.76 and the compiler, when you install the compiler select the LITE mode.
Make a new folder and place the .c file in it (PI2.c)
Start Mplab, then select the project wizard,
select device
select the Hi tech tool suite (should be default)
create a project in the same folder with the .c file (call the project any name)
then select the .c file and click ADD file to project
click finish
then click the build ICON , this is a BLACK icon with red dot and bar in Mplab at top of page
if it all works you should get a ********** Build successful! ********** message in the output window
and the HEX file will be in your folder
good luck
6666
For those who want to compile their own Hex code, I had a crack and it seems to work.
Download MPLAB ver 8.76, it comes with the Hi Tech compiler.
Install Mplab 8.76 and the compiler, when you install the compiler select the LITE mode.
Make a new folder and place the .c file in it (PI2.c)
Start Mplab, then select the project wizard,
select device
select the Hi tech tool suite (should be default)
create a project in the same folder with the .c file (call the project any name)
then select the .c file and click ADD file to project
click finish
then click the build ICON , this is a BLACK icon with red dot and bar in Mplab at top of page
if it all works you should get a ********** Build successful! ********** message in the output window
and the HEX file will be in your folder
good luck
6666
That reminds me of the time when you could buy a cheap Microsoft Office upgrade CD, and during the installation you were asked to browse to the location of the Office software on your hard disk. Of course, if you didn't have Microsoft Office, you couldn't load the upgrade. However, if you browsed to the CD instead of the hard disk, the installation software thought you had an official version and quite happily loaded a full Office Suite onto your computer.
I must explain my comment in the first line "I had a crack and it seems to work"
this does not mean I had a software CRACK,
this expression is Australian slang for having a try at getting something to work.
The expression is "have a crack at it " or " I had a crack at it" or "have a go at it" or "give it a crack mate" etc.
I made the post so ivconic could try it, the mplab software works fine and the hitech compiler
works fine in Lite mode,
but if you operate in PRO mode you may get a more compressed hex code that may look different from what Carl published.
Last edited by 6666; 11-08-2012, 11:02 PM.
Reason: Australian slang words
Comment