ON

Set all outputs to HIGH state.

Syntax

on [count]

Parameters

count
  • Decimal number from 2 to 100, tells how many times command will be retried.

Example

sleeps 300 ; Set sleeps = 300 ms
 
cycle:  ; Entry point
 
on      ; Switch ON all
off     ; Switch OFF all
on 3    ; Switch ON all, and wait for 3 times
off 3   ; Switch OFF all, and wait for 3 times
 
goto cycle
exon.gif