Library for communicating with a Wii classic controller using the I2C bus.
Dependents: WiiClassicControllerTest
Note that you will also need the CommonTypes library to use this.
Get it here:http://mbed.org/users/RichardE/code/CommonTypes/
Diff: WiiClassicController.h
- Revision:
- 1:9e766313a668
- Parent:
- 0:242100dadee8
- Child:
- 3:ecae3d286a99
--- a/WiiClassicController.h Sat Jun 29 22:02:08 2013 +0000 +++ b/WiiClassicController.h Sat Jun 29 22:11:27 2013 +0000 @@ -17,6 +17,7 @@ #define CONTROLLER_REGADDR 0x40 // relevant register address #define CONTROLLER_READLEN 0x06 // always read this many bytes back + /// Allows use of a Wii classic controller using an I2C bus. class WiiClassicController { public :