Thanks! I'll do some tests and see how it works
One thing I didnt mention was that its very important that I really get 254 as the max value so the highest insignal really give 100% dutycycle on the PWM, but thats easy to fix with some extra code, that put it on 254 on anything higher than 250 or something.
Bookmarks