chipKIT® Development Platform

Inspired by Arduino™


Created Tue, 13 Mar 2012 12:42:01 +0000 by Taygan


Tue, 13 Mar 2012 12:42:01 +0000

I just purchased a MX4cK for robotic use and was reading through the manual and came across the following paragraphs concerning updating multiple servos using a single timer interrupt,

Using timer interrupts allows a single timer to be used to control the signal timing for all eight servo connectors.

Digilent has a reference design available that illustrates using timer interrupts to control signal timing for the PWM signals to control RC servos.

I would like to implement this very thing but couldn't find the reference design on the product page and was wondering if anyone had some sample code of doing this. Perferably using MPLAB.



Tue, 13 Mar 2012 14:56:30 +0000

In MPIDE look under examples SoftPWMServo

Ryan K

Tue, 20 Mar 2012 22:14:24 +0000

Hello Tay,

There is also a reference project for MPLAB in the Support Documents section of this site:,396,754&Prod=CEREBOT32MX4

Best Regards, Ryan K