Hello,
The code I cannot compile it with the PBC???.
Originally Posted by CocaColaKid
Hello,
The code I cannot compile it with the PBC???.
Originally Posted by CocaColaKid
Oh, what a dummy I am. I thought you were using PBP. I'm not sure what the differences are since I use PBP and it works fine for me. I can't even try to compile it so I'm not too much help unfortunately.
I'm not sure which commands it does not like since I'm not familiar with PBC. There should be much of a problem since the commands aren't overly complex that are used.
I just thought of something else that might be the cause of your problems. You have to edit the 12F675.INC file located in the PBC folder and comment out this line by putting a ; in front of it.
__config _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_ON & _CP_OFF
As far as i'm aware of by reading
http://www.melabs.com/products/pbcis.htm
There's no ADCIN and direct acces to internal register, Variables are pre-defined B0... W1... and ,... and ... and
So you Must use PEEK POKE to write/read to/from internal register Adress and, and, and...
There's a huge difference between PBC and PBP. I don't have PBC here.. sorry
So only few code example @ melabs or other PBC user here could gives you some Hint. Look bellow
http://www.melabs.com/resources/samples.htm#pbc
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks