I2C send data, wm+
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-01-18 1:53 PM
Posted on January 18, 2012 at 22:53
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+
Labels:
- Labels:
-
I2C
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-01-18 2:54 PM
Posted on January 18, 2012 at 23:54
I found solution in
. Now my wm+ works great.