chipKIT® Development Platform

Inspired by Arduino™

MX4cK

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


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.

Tay


KeithV

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:

http://digilentinc.com/Products/Detail.cfm?NavPath=2,396,754&Prod=CEREBOT32MX4

Best Regards, Ryan K