Turbidity Program

Measures turbidity and displays it on the USER led as colors.

Program


---

Turbidity Meter Program

---


prog_vars =

d/count 0

d/turbidity 0

prog_vars.


prog_start =

pclear

print "Program Start"

gvr a1 100 0

prog_start.


prog_loop =

mapi 0 100 1 16 /a1 -> /turbidity

"a1 /a1 turbidity /turbidity"

d250

l1 /turbidity

prog_loop.

prog_stop =

print "Bye"

prog_stop.