Reading data from the Wii Nunchuck input into Arduino using scanI2CBus

조회 수: 1 (최근 30일)
John
John 2017년 9월 11일
Dear all,
I'm trying to read in the data from the Wii Nunchuck input into the Uno Arduino using the read/write functions for Arduino IC2 interface. See description of data package below:
"In order to read data from the Nunchuk, it's necessary to send the address to read from, since the controller of the Nunchuk increments the address with every read. The data we're actually interested in lies at address 0x00 and is 6 bytes long. At address 0x20 and 0x30 (seems to be an exact copy of the bytes at 0x20)."
I have been able to connect and read from the address of the device, but am unable to read the data package. Any suggestions, particularly with regards to bitshifting to read the data?

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for Arduino Hardware에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by