Silverfrost Logo About Us | Contact Us
 

%ld - LED

Purpose

To display a round LED symbol (a coloured disk with a black border).

Syntax

winio@('%ld[options]', rgb_value)
integer rgb_value     (input)

Description

rgb_value is usually set by a call to RGB@. By supplying a variable for rgb_value the value can be changed dynamically with a call to window_update@.

options can take the keyword square in order to change from a disk to a square shape and/or the keyword blinking to provide a flashing effect by switching between the given colour and black at approximately half second intervals.

Example

winio@('%ld', RGB@(255,0,0))

 

 

 

Copyright © 1999-2017 Silverfrost Limited