There is probably something obvious I am missing but here goes my question.
How do I set up public constants to refer to 1280n pins (ZX-1280n development board) via logical A-L port and bit designations that I can use with GetPin and PutPin?
I have been looking for the answer to this all morning in the documentation.
cerickson wrote:How do I set up public constants to refer to 1280n pins (ZX-1280n development board) via logical A-L port and bit designations that I can use with GetPin and PutPin?
On all ZX devices, you may refer to a pin by its physical pin number or by its port.bit designation. For example, on the ZX-1280n if you want to refer to bit 3 of port L you can use either 38 or L.3.
As for defining constants to refer to the pins, just define a Byte constant and specify its value as described above.