thank you for your speedy gonzales reply!
i will control the dimmer with an analogue PWM value right?
Well no not directly. The PWM output needs to be boosted to 12V using a transistor. Then it needs to be smoothed using a series resistor, and a capacitor and then it can be applied to your controller.
The dimmer manual says "Use an adjustment voltage of 0 to 5 (or to 12V max). And it has two pots for adjusting min/max.
Just scale it using a y = mX +C type of formula. Think about it.
I wish that scaling would be a default when passing a value to a limited range port. Like in Isadora.
Can you please explain your formula, if it's simple.
i am trying to get the range 200-13000 squeezed into 0-255.
(looking at this right now :-? http://www.mathsisfun.com/equation_of_line.html
Thank you humbly