Hi all. I'm setting up an experiment for some students and wish to simplify the coding as much as possible. Currently the experiment uses almost every pin on the 40x, so they have enough to be worrying about without dealing with pins and ports if it can be helped. I can normally use
But can I use:
ideally allowing the students to initially lay out a pin map, then not have to consult it again while using the pins, or is the interpreter not capable of this?
Code:
symbol THIS_PIN = pin0
Code:
symbol THIS_PIN = portC pin0