confusion with analogRead

pinMode ( analogPin, INPUT); not needed

Did you know that CTRL-T cleans up the layout of code a bit? :slight_smile:

can it be that the analogWrite() ==> PWM timer interferes with the VW library which might use a timer too?