chipKIT® Development Platform

Inspired by Arduino™

ShiftPWM alternative

Created Sat, 30 May 2015 22:30:48 +0000 by DuW-Computer


DuW-Computer

Sat, 30 May 2015 22:30:48 +0000

Hey there,

is there anybody who know a alternative to the "ShiftPWM" Library from elcojacobs, because its not running with the Max32? Or anybody who have fixed the incompatiblity?

Best regards!


majenko

Sat, 30 May 2015 22:37:01 +0000

I wrote something similar a while back for the chipKIT. Not sure it's in a particularly usable state at the moment (been a while since I last used it), but feel free to take what you want from it:

https://github.com/MajenkoLibraries/ULK

It's interrupt driven and directly drives the SPI2 port (which is usually the main SPI port on a chipKIT board) to give a fully asynchronous background operation.

Again, no idea if it works with in the current chipKIT environment...