Test code to read a tyco dpl12 quadrature encoder and vary the level of the 2 inbuilt leds. Fades colour from red, through orange and yellow, to green. Push button momentarily extinguishes the leds.

Dependencies:   mbed

History

default tip

2011-02-23, by James1208 [Wed, 23 Feb 2011 20:59:54 +0000] rev 0