HelpWizard Pages ReferenceManual2/en: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Cg (Diskussion | Beiträge) |
Cg (Diskussion | Beiträge) |
||
Zeile 9: | Zeile 9: | ||
<strong>Input</strong> |
<strong>Input</strong> |
||
* ''inputPinName''.'''valueAt'''(''idx'')<br>retrieve the value from the idx'th pin |
* ''inputPinName''.'''valueAt'''(''idx'')<br>retrieve the value from the idx'th pin |
||
* ''inputPinName''.'''hasValueAt'''(''idx'')<br>check if the idx'th pin has a value |
* ''inputPinName''.'''hasValueAt'''(''idx'')<br>check if the idx'th pin has a value |
||
Version vom 4. März 2021, 10:03 Uhr
Reference Manual (Variable Pins)[Bearbeiten]
Common
- pinName.numberOfVariablePins()
how many instances of the variable pin are there
Input
- inputPinName.valueAt(idx)
retrieve the value from the idx'th pin
- inputPinName.hasValueAt(idx)
check if the idx'th pin has a value
Output
- outputPinName.outputPinAt_value(idx, value)
send a value to the idx'th pin