Andrea Toscano

Tag Archive: servo library

  • Arduino Yun ESC - 400Hz PWM Signal (Comelicottero)
    02nd, June
    400Hz PWM on Atmega32u4 for multirotors (without using Servo Library)

    !! Code available on my GitHub toskyRocker account !! The main issue using the Servo Library is that you can hardly go faster than 125Hz, with a huge amount of interrupts generated. I use instead 16bit Timer1 and Timer3 to generate PWM signals @400Hz on 4 pins (up to 6 pins). No interrupts are required….

    Read More