Hi,
Yes, PortB is simply an identifier which translates into an absolute adress, on the 16F877 PortB is at adress 0106h for example.Speaking simply, PORTB.1 is an alias, which refers to particular register or whatsoever, say at address F9 HEX.
I've beem tryimg to explain why but I don't seem to get the point across so I'm going to revert to the simple answer of NO, you can't.So can I make such hex adresses into array, so when I write 1 to array member, which corresponds to F9 HEX, the associated hardware port becomes high?
Again, please show me an example in Sinclair BASIC which does what you want.
/Henrik.
Bookmarks