Monday, August 15, 2011

    Brian Schmalz's Soft PWM and Servo Library for PIC32 chipKIT


    From Brian:
    Just got done writing a soft PWM and Servo library for MPIDE/ChipKIT (any PIC32 board actually). It can do PWM and/or RC Servo outputs on all I/O pins simultaneously. (Max 85 pins at once.) I only had 10 RC servos handy, so I hooked them all up to demonstrate. I'm running the AllPinsServo.pde example sketch that comes with the library.

    Notice that some of the servos are continuous rotation (why they rotate so fast) and some of them are kinda on the fritz, so they jerk a bit. (This is NOT due to the software library I'm demonstrating, it's the fault of the servos.)

    More information, as well as the source to the library will be posted to the ChipKit forums in the next day or two.

    No comments: