User Manual V3.1
Element14 | element14.com/minode
24
Function
onPIREvent(connName: ConnName, body: () => void): void;
Parameters
‘ConnName’ is the connector's name.
EXAMPLE:
Detecting Movement – Smiley Face
When the PIR detects a moving object, the LED screen will show a smiley face. When
there is no movement detected within the PIR modules range no LEDs will be lit.