2012-01-18 01:53 PM
I need to connect wm+ through I2C. I'm now trying to port
http://randomhacksofboredom.blogspot.com/2009/07/motion-plus-and-nunchuck-together-on.html
this Arduino code.I'm stuck at how to send zero to device.I need to send 0x00 to 0x52(address of wm+).Is it right?:void ZeroSending(void)
{ I2C_GenerateSTART(I2C1,ENABLE); I2C_SendData(I2C1,0x52); I2C_SendData(I2C1,0x00); I2C_GenerateSTOP(I2C1,ENABLE);} #i2c #motion #wii #wm+2012-01-18 02:54 PM
I found solution in
. Now my wm+ works great.