ArduPilot Legacy (Atmega328)

The problem is the vcc generation , see http://arduino.cc/en/Tutorial/PWM . The pwm is not an output with variable voltage , but only a square wave with a variable duty circle and a frequency of 500hz
Hi niko