Benutzer-Werkzeuge

Webseiten-Werkzeuge


lcd4linux:plugin_test

Test plugin

This plugin provides two functions primary for testing purposes.


Functions:

test:bar(index, max, start, delta)returns a value between 0 and max
test::onoff(index)returns 1 and -1 in turn every time called

The test::bar function is used for testing bars. It keeps values for up to 10 bars (specified with the <index> parameter) which are incremented and decremented between 0 and <max> by amount <delta> every time they are read. Starting value is <start>.

The test::onoff function is used for testing the visibility of icons. It provides up to 10 values (specified with the <index> parameter) which switch between -1 and 1 every time it is called.


lcd4linux/plugin_test.txt · Zuletzt geändert: 2022/02/15 20:09 von 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki