NSL
Circular Shift Left with 0 priority.
Syntax
nsl [count]
Parameters
count
- Decimal number from 2 to 100, tells how many times next command or block will be retried.
Example 0x00
sleeps 500 ; Set sleeps = 500 ms
CYCLE: ; Define Label
101111111111
nsl 5 ; Do NSL for 5 times
goto CYCLE ; Infinite cycle
Example SSL SSR NSL NSR
sleeps 500 ; Set sleeps = 500 ms
000001100000
CYCLE: ; Define Label
try 2 ; Do block for 2 times
{
ssl 2 ; Circular Shift Left with 1 priority.
ssr 2 ; Circular Shift Right with 1 priority.
}
try 2 ; Do block for 2 times
{
nsr 2 ; Circular Shift Right with 0 priority.
nsl 2 ; Circular Shift Left with 0 priority.
}
goto CYCLE ; Infinite cycle
Example 0x02 "Snake"
sleeps 500 ; Set sleeps = 500 ms
1110
CYCLE: ; Define Label
ssl 3 ; Circular Shift Left with 1 priority.
nsl 3 ; Circular Shift Left with 0 priority.
goto CYCLE ; Infinite cycle