outa and dira alias
Charlie Johnson
Posts: 147
In PBASIC you can do:
Is it possible to alias outa and dira?· If so, what is the syntax?
Charlie
Segs VAR OUTL ' Segments on P0 - P7 SegsDIR VAR DIRL ' DIRS for segments
Is it possible to alias outa and dira?· If so, what is the syntax?
Charlie
Comments
You could get fancier by defining the highest pin # and lowest pin # and computing (as a constant) the bitmask and shift count like
Thanks for the reply. I am already using something similar to your first example. I was just curious, because I am converting all the StampWorks examples to run on the SS.
Charlie