more docs
This commit is contained in:
parent
9fbc17c8ce
commit
2415b146fa
@ -243,7 +243,7 @@ namespace input {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the pin state (pressed or not). Requires to hold the ground to close the circuit.
|
* Get the pin state (pressed or not). Requires to hold the ground to close the circuit.
|
||||||
* @param name TODO
|
* @param name pin used to detect the touch
|
||||||
*/
|
*/
|
||||||
//% help=input/pin-is-pressed weight=58 shim=micro_bit::isPinTouched block="pin|%NAME|is pressed" icon="\uf094"
|
//% help=input/pin-is-pressed weight=58 shim=micro_bit::isPinTouched block="pin|%NAME|is pressed" icon="\uf094"
|
||||||
export function pinIsPressed(name: TouchPins): boolean {
|
export function pinIsPressed(name: TouchPins): boolean {
|
||||||
|
Loading…
Reference in New Issue
Block a user