chipKIT® Development Platform

Inspired by Arduino™

Nunchuck Library

Created Thu, 03 Apr 2014 20:47:31 +0000 by pippopippo


pippopippo

Thu, 03 Apr 2014 20:47:31 +0000

Hi,

I switched 2 days ago from Arduino 2009 in search of better performance.

Could You give me any suggestion on how to import the Nunchuck Library (based on I2c).

There is more than one library for nunchuck, I would like to import this one, that works for shure with third parties nunchucks.

http://www.gabrielbianconi.com/arduinonunchuk/

thanks a lot.

Pippo


thepascalix

Fri, 04 Apr 2014 07:35:44 +0000

Hi, Do you have tried to change the "Arduino.h" imported library with "WProgram.h" in Nunchuck header file? And change the read and write method with receive and send method?

(You have to take reference with API documentation for chipkit platform, contained int the reference directory in your MPIDE folder)


GrahamM242

Fri, 04 Apr 2014 08:44:10 +0000

The code looks simple enough to port, so I thought I'd give it a try. I haven't tested this as I don't have a nunchuck to test on. No promises, but give it a try and see what happens. (That was dangerous wasn't it?)


pippopippo

Fri, 04 Apr 2014 09:11:45 +0000

Ok thanks a lot, I'll try and give You a feedback.


pippopippo

Fri, 04 Apr 2014 15:39:34 +0000

IT WORKS. GREAT !

THANKS A LOT


GrahamM242

Thu, 10 Apr 2014 07:14:02 +0000

That's great news!