Speaking simply, PORTB.1 is an alias, which refers to particular register or whatsoever, say at address F9 HEX.
So can I make such hex adresses into array, so when I write 1 to array...
SYMBOL is a left over from the BASIC Stamp and is not recommended.
In the BASIC Stamp there are a fixed number of pre-declared variables for you to use. B0 is one of those (a byte variable)...
SYMBOL AC = PORTC.5
This statement is invalid, according to PBPpro.
Clearly I have erred, first in drawing assumptions and, second by posting untested code based on those assumptions. I dislike being wrong, but I dislike being ignorant even more. Ha! Is this not true...
I knew I'd seen it on Digikey in an earlier search! Thanks. Couldn't find it yesterday, not sure why it didnt appear. Is this directly compatible with Microcode Studio? I've only ever used an old...
Where are they not present? Can you show me an example in Sinclair BASIC that does what you want?
Yes and no.
There is, to my knowledge, no way to have a pin or port or any other...
And is there a way to overcome them?
Ok, I understood the limitations. But why they are present here, and aren't present elsewhere?
Yes, that's correct, it'll make PortB.1 high because "all" you've done is assigned the "name" or "identifier" ledpin1 to bit 1 of the register PortB. So when you do HIGH ledpin1 it'll...
say I can have
ledpin1 var PORTB.1
then when I issue