Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - add pin on process for Interpretable byte code

(you are viewing a thread; or go back to list of threads)

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
Thu Dec 17 2009, 18:18:48
(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.
Fri Dec 18 2009, 02:09:23
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):