top of page
This program controls the color of the USER LED using a variable resistor.
Turning the knob will change the color of the USER LED.
In this version the variable resistor POT1 on the JackBord TOP is connected to port pin B1 on a block 2 JackBord. For a block 3 JackBord use port Pin A1.
Program
---
Control the Color of the USER LED using a variable resistor.
Turning the knob will change the color of the USER LED.
---
prog_vars =
d/count 0
prog_vars.
prog_start =
pclear
print "Program Start"
gvr b1 0 15 l1
prog_start.
prog_loop =
-- main program loop
print "Count /count"
inc /count
any /count >= 1000 -> exitprog
prog_loop.
prog_stop =
print "Bye"
prog_stop.
bottom of page