compile the first example the send me the generated .HEX file (in a .ZIP)
Everything work as expected here.
Which PIC programmer and software do you use?
EDIT: Which PBP version ?
compile the first example the send me the generated .HEX file (in a .ZIP)
Everything work as expected here.
Which PIC programmer and software do you use?
EDIT: Which PBP version ?
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
OK, assuming you have copy/pasted the whole first example, something is bad with your compiler... i guess. If i use the .HEX file you sent, nothing work. So i would suggest you to re-install PBP.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
is there a certain way to install it cos last time i installed microcode studio then copy/pasted the picbasic folder into C:\ and it picked it up itself
Edit: i copy/pasted the whole code except the first line. the first line "@ __CONFIG _XT_OSC & _WDT_OFF & _CP_OFF" causes an error while compiling "opcode expected instead of '__config'"
This error is because i use MPASM to compile the code, for PM syntax, you need to have a look at the link i posted above for the config fuses.
I'm reading the .HEX file you sent... may i assume you didn't selected the right PIC in the MicroCode studio drop list? I suspect a 16F877which is the default one...
You should have your PBP installation Disk, just reinstall over and make sure MicroCode see the right PBP installation path... but first make sure you selected the right PIC in the drop list.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
OMFG!
just before you posted that i was looking at the asm file and wondering why it said
INCLUDE "16F877.INC"
i never saw that dropdown box! what a retard! lol.
well, i programmed it again (this time with the correct chip selected) and your example code makes some lights turn on then all of them which i guess is what its supposed to.
cant believe i spent hours on google yesterday and all day today talking to you guys and it was all because of a dropdown box. im gonna go to bed now, ive had enough today. lol
thanks for all your help and sorry for wasting your time![]()
Don't worry... this may happen.
Even Skimask do some mistake![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks