This is the CHiP version of a basic script (forked over from the modmypi version) that manages a counter that is controlled by a rotary encoder. The Pin defaults are XIO-P0 and XIO-P1, although these can be changed with to any pin that that can be set as an input.
Requires: