add pin on process for Interpretable byte code (by Thomas)
Hi,
I want to be able to specify IO pins for the Interpretable byte code, say 128 each, how would I go about this?
Thanks,
Thomas
(no subject) (by Jonathan Westhues)
My intent was that inputs and outputs for this target would be specified through specially named bit or integer variables.
For example, let's say that you want Yrelay1 to represent a particular output. The generated bytecode file indicates the location (in the address space of that bytecode) of the bit variable Yrelay1. Your interpreter therefore knows to look at that location, and use that to drive the relay.
It would be possible to do the same thing with digital inputs, or with integers for an ADC or a DAC, for example.