Pat Object

Top  Previous  Next

object_pat

The pat. object of TiOS running on Tibbo hardware devices "plays" signal patterns on the green status (SG) LED and red status (SR) LED (or I/O lines for connecting external SG and SR LEDs) provided on every programmable hardware device. On some hardware devices, the pat. object can work with up to four additional pairs of LEDs. Each LED pair is referred to as an "LED channel". All devices have at least one channel. Some devices have up to 5 channels.

The pat. object of TiOS Simulator plays signal patterns on two "virtual LEDs" found in the top left corner of the Simulator's window. Only one LED channel is available.  

 

Differences from the "real" pat. object:

 

pat.channel

As there is only a single LED channel on the Simulator, keep the value of this property at 0.

pat.greenmap

Manipulating this property is not necessary, as it is only needed for channels above channel #0.

pat.redmap

Manipulating this property is not necessary, as it is only needed for channels above channel #0.

 

All other aspects of the pat. object follow our "real" pat. object found on Tibbo devices.