Previous Topic

Next Topic

Book Contents

Book Index

OBLCD_RUT

This instruction tests for the presence of the onboard LCD port ("RUT" = "aRe U There?", a hangover from old telex/twx terminology). Naturally, any board that possesses an LCD port will report it as being there. The result is pushed into X as a True. If the board does not have an LCD port this instruction will result in a fatal runtime error, and your program will re-start.

In general all SPx peripherals must respond to an RUT poll. With external peripherals the usefulness of an RUT is to allow a system to determine its own configuration. With onboard peripherals it is included for consistency but is of little practical use.

This instruction cannot detect the absence or presence of a LCD module plugged into the LCD port. It only tells you that the board has an LCD port.

Note: This instruction modifies UV

Dialect exclusions: Not available in dialects before 9. Also, not available on SPLat controllers that do not have onboard LCD support (please check the documentation for your specific board and Firmware version).

Previous Topic

Next Topic