mosh:element_library:button
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mosh:element_library:button [2025/06/30 15:37] – [Setup Methods:] mosh | mosh:element_library:button [2025/06/30 15:38] (current) – [Runtime Methods:] mosh | ||
|---|---|---|---|
| Line 77: | Line 77: | ||
| |buttonIsPressed()|Read|--|bool|Returns true if button is pressed, false if not| | |buttonIsPressed()|Read|--|bool|Returns true if button is pressed, false if not| | ||
| |getFriendlyName()|Read|--|string|Returns the friendly name of the element| | |getFriendlyName()|Read|--|string|Returns the friendly name of the element| | ||
| - | |getLastPropertyChange()|Read|--|uint32_t|get the amount of time (in millis) since the last state change)| | + | |getLastPropertyChange()|Read|--|uint32_t|get the amount of time (in millies) since the last state change)| |
| |getProperty(name)|Read|friendlyName, | |getProperty(name)|Read|friendlyName, | ||
| |getID()|Read|--|uint8_t|Returns the element' | |getID()|Read|--|uint8_t|Returns the element' | ||
/var/www/wiki.moshnetworks.com/data/attic/mosh/element_library/button.1751297866.txt.gz · Last modified: by mosh
