Seems like the basic idea. Not sure what language that is but the idea looks about right
Seems like the basic idea. Not sure what language that is but the idea looks about right
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
Ray, I stand corrected. I was thinking peek came from a different language, but I see it is a valid pbp command, though according to the book not recommended.
As for the movelf, well I think that is some ask haunting you. In pbp you would just use
So yes I still think that's the basic idea.Code:plldataout =plldata
Oh yea, loop is a reserved word in latest release of pbp, so not a good choice for your label.
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
Yes, I corrected that. Thanks.
Where do I find the reserved words? Looked through the manual. Couldn't find them.
can't answer that one, I must say I have ony read it here MANY times, so I assume it to be true. I think it might be in the front or the back in a section talking about differences from previous versions or differences from BS2. Not sure.
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
I'm trying to assign 4 pins from PORTA as the CHSEL f/register as follows;
CHSEL = PORTA.1.2.3.4
Get this error;
C:\PBP\PLL-CPU.BAS ERROR Line 24: Bad variable modifier: .1.2.3.4
I've tried different variations on this (1-4) (1234) etc. but with the same results.
What is the correct syntax for doing this? I only want to use these 4 pins.
Look in appendix C in your manual.
http://melabs.com/resources/pbpmanual/
"No one is completely worthless. They can always serve as a bad example."
Anonymous
Bookmarks