Flash USER LED l1 with Random Colours

This program flashes the USER LED l1, the one on the front of the JackBord.
It will cycle USER LED 1 through the colors 0 to 15.

Program


---

Flash USER LED l1 with colors

---


prog_vars =

d/count 0

d/color 0

prog_vars.


prog_start =

pclear

print "Program Start"

prog_start.


prog_loop =

-- main program loop

print "Count /count"

inc /count

any /count >= 100 -> exitprog

inc /color

any /color > 15 -> /color 0

/l1 /color


prog_loop.

prog_stop =

print "Bye"

prog_stop.