Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| — |
de:reference:buttons [2017/11/14 12:51] (aktuell) kniwwelino angelegt |
||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| + | FIXME **Diese Seite wurde noch nicht vollständig übersetzt. Bitte helfen Sie bei der Übersetzung.**\\ //(diesen Absatz entfernen, wenn die Übersetzung abgeschlossen wurde)// | ||
| + | |||
| + | ====== Knöpfe ====== | ||
| + | |||
| + | ===== Blöcke ===== | ||
| + | ==== If button is pressed ==== | ||
| + | |||
| + | {{:de:reference:button:if_button_is_pressed.png?nolink|}} | ||
| + | ==== If button was clicked ==== | ||
| + | {{:de:reference:button:if_button_was_clicked.png?nolink|}} | ||
| + | ==== Button is pressed ==== | ||
| + | {{:de:reference:button:button_is_pressed.png?nolink|}} | ||
| + | ==== Button was clicked ==== | ||
| + | {{:de:reference:button:button_was_clicked.png?nolink|}} | ||
| + | |||
| + | ==== Button options ==== | ||
| + | {{:de:reference:button:button_options.png?nolink|}} | ||
| + | \\ All button blocks have the option to select a button to evaluate or to even evaluate the logical combination of the build-in buttons. | ||
| + | |||
| + | ===== API ===== | ||
| + | |||
| + | ==== boolean BUTTONAclicked() ==== | ||
| + | Check if Button A has been clicked (pressed-released) since the last check. | ||
| + | |||
| + | Click state will be reset after checking, means calling this method twice it will report true, false. | ||
| + | |||
| + | ''return true if yes, false if no.'' | ||
| + | |||
| + | |||
| + | ==== boolean BUTTONBclicked() ==== | ||
| + | Check if Button B has been clicked (pressed-released) since the last check. | ||
| + | |||
| + | Click state will be reset after checking,means calling this method twice it will report true, false. | ||
| + | |||
| + | ''return true if yes, false if no.'' | ||
| + | |||
| + | |||
| + | ==== boolean BUTTONAdown() ==== | ||
| + | Check if Button A is pressed right now. | ||
| + | |||
| + | ''return true if yes, false if no.'' | ||
| + | |||
| + | |||
| + | ==== boolean BUTTONBdown() ==== | ||
| + | Check if Button B is pressed right now. | ||
| + | |||
| + | ''return true if yes, false if no.'' | ||
| + | |||
| + | |||
| + | ===== Wiring ===== | ||
| + | |||
| + | ===== Examples ===== | ||
| + | |||