Re: [tracker2] More on scripting language
- The language will have the equivalent of 'peek' and 'poke' instructions,
too, so it'll be possible to do some of that with digital I/Os. How
much of the hardware details I'll abstract in the virtual machine
remains to be decided.
Even if the VM only does raw PEEKs and POKEs, the programming interface
could provide some shortcuts for the standard I/Os. The first version
will probably rely on some address tables, though - if you want to set
an I/O pin, you'll have to set the data direction register and then the
pin state manually.
Bob Burns W9RXR wrote:
> At 08:38 PM 11/23/2007, Wes Johnston, AI4PX wrote:
> >Also, it'd be neat to attach a resistor ladder to an analog input,
> >and have the icon beable to change depending on the measured voltage
> >on the analog input.
> Neat idea! The same sort of approach could be used by Skywarn
> spotters to select various APRS symbols depending on what they are
> seeing (hail, wall cloud, tornado, etc.).