Compiles without issue for me.
Check to be SURE you have selected the correct PIC in Microcode studio, If that's not correct you will see those errors.
Compiles without issue for me.
Check to be SURE you have selected the correct PIC in Microcode studio, If that's not correct you will see those errors.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Hi Archangel,
I have the correct PIC selected. I was looking around at the menus, and inadvertently told it to find automatically the PBP compiler under View, Compile and Program Options. It reselected C:\pbp, so nothing has changed. But I still get these 3 compile errors. Any other ideas?
regards,
mike
Last edited by Archangel; - 10th October 2015 at 02:35.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
HIGH and LOW do not require any port setup. They set as output automatically, see the manual.
You don't need the ANSELs.
Hi Archangel and kenif,
I uninstalled MCS and PBP, and reinstalled both programs, and now it works.
Thanks for your time.
regards,
mike
I have PBPX 3.0.7.1 and is compiles OK - an obvious mistake is to select 16F877 when you mean 16F887. Maybe the syntax is different in 2.6? Anyone with 2.6?
Among the more common things that got wrong (does not apply to your immediate problem) clock not running, incorrect setting of fuses and not turning off comparators. Suggest you have a look at anything by Darrel Taylor and in particular his ALLDIGITAL and FUSE CONFIGURATION programs.
George
That is only partly correct!HIGH and LOW do not require any port setup. They set as output automatically, see the manual.
You don't need the ANSELs.
HIGH/LOW manages the TRIS register for you but it does NOT manage ANSEL, CMCOM or any other registers which may prevent a digital pin from functioning as an output.
/Henrik.
Bookmarks