When trying to set a gaggle of pins, different ways seem to require different nomenclature. Low/High appear to require pin names such as "C.3" while assignments require something like "Let outpinB.1 = 0" -- "let B.1=0" won't work and 'high outpinB.1' also seems to generate a syntax error.
It appears that if there is an assignment for the entire port, the in or out is inferred by which side of the assignment the port appears. (but maybe not for the 28x2?)
For example, the dx.com LCD thingy uses S.4 to S.7 for the data nibbles. These have to be set individually because they map to B.1, B.5, B.6, and B.7. That complicates the data mapping differently than having to just convert a byte to 2 nibbles. Assignment with the output character in b0 and using pin0 to pin8 is the easiest way to do this from what I can see so far.
As an example, inglewoodpete uses symbols for outpinB.* but then has to revert to S.* for the initialization "output" command to set them as outputs. The LCD output routine does assignment and can use the symbols. That leads to inconsistent names for the pins in the program. It appears that you do have to specificy the pins as output but that command won't accept the assignment type nomenclature easiest to use in assigning pin output values.
I'm trying to grok the nuance that must exist ...
Is that just the way it is? Or is there some reason for this issue? Or am I missing something?
It appears that if there is an assignment for the entire port, the in or out is inferred by which side of the assignment the port appears. (but maybe not for the 28x2?)
For example, the dx.com LCD thingy uses S.4 to S.7 for the data nibbles. These have to be set individually because they map to B.1, B.5, B.6, and B.7. That complicates the data mapping differently than having to just convert a byte to 2 nibbles. Assignment with the output character in b0 and using pin0 to pin8 is the easiest way to do this from what I can see so far.
As an example, inglewoodpete uses symbols for outpinB.* but then has to revert to S.* for the initialization "output" command to set them as outputs. The LCD output routine does assignment and can use the symbols. That leads to inconsistent names for the pins in the program. It appears that you do have to specificy the pins as output but that command won't accept the assignment type nomenclature easiest to use in assigning pin output values.
I'm trying to grok the nuance that must exist ...
Is that just the way it is? Or is there some reason for this issue? Or am I missing something?