Nunchuck SoftI2C for Arduino Uno

Hopefully you didn't just sigh at my subject title, but I am wondering if it was possible to modify todbot's softI2C code ( http://todbot.com/blog/2010/09/25/softi2cmaster-add-i2c-to-any-arduino-pins/ ) with the existing 'available' and 'receive' functions in the Wire.h library in order to interface my arduino uno with a wii nunchuck. Essentially my project requires data from the accelerometer/gyroscope doohickey to drive a stepper motor, and with all of the analog pins taken by flex sensors for user input I need a way to relocate the nunchuck's I2C pins to a pair of digital pins. Any help would be greatly appreciated!

Bump

I think im in the same boat as you.

my goal is to just read data comeing off the wiinunchuck. i found this -->> http://www.arduino.cc/playground/Main/WiiChuckClass just haveing trouble getting it to load the error i get is "call of overloaded'write(int)' is ambiguous"

have you tried to run this code?

im running an Arduino uno with 1.0 programing software

KC0GFG: I think im in the same boat as you.

Except that your issue has nothing to do with what the original poster is asking about.

KC0GFG: just haveing trouble getting it to load the error i get is "call of overloaded'write(int)' is ambiguous"

im running an Arduino uno with 1.0 programing software

1.0 represents a large number of changes to internal libraries such as the Wire library, which this WiiChuckClass is based on. If you don't know how to update it yourself, I would suggest dropping back down to 0023 until this class gets updated.

malaysianasiandude: Hopefully you didn't just sigh at my subject title, but I am wondering if it was possible to modify todbot's softI2C code ( http://todbot.com/blog/2010/09/25/softi2cmaster-add-i2c-to-any-arduino-pins/ )

Well I don't think you would modify the softI2C code. Instead you need to modify the Wii library to use the softI2C, which should be possible.