copied timer and pwm stuff from avr101
add ADC stuff and adapt to attiny24 and 3 channels
use hsv2rgb instead of rgb