Timer

From HSYCO
Jump to navigation Jump to search
Note  For a description and a complete list of UI Objects, see UI Objects.

A button that controls a timer. The button shows the current status of the timer, and touching it opens the timer set-up pop-up. The timer object generates TIMER events and userTimerEvent() Java callbacks on activation and reset.

UI Object timer.png

Parameters

  • timer id: the timer id, as defined in the Timers parameter in the hsyco.ini file
  • position: the object's position. Use the pixels or rows and columns coordinates format
  • label: the text label on the button. Can contain HTML tags

Syntax

(timer <timer id>; <position>; <label>)

E.g.

(timer cleaningtime; x30y30; Cleaning Time)