acapulco
Joined: 05 Feb 2008 Posts: 13
Digg It |
Posted: Tue Feb 05, 2008 6:15 pm Post subject: Turning LEDs on with WMD |
|
|
Hello. I just recently was able to connect my wiimote to my Ubuntu 7.10 system using WMD witout much problems or configuration stuff. Now I would like to start programming with it.
I would love to be able to toggle the LEDs on and off depending on the accelerometer data.
Does anyone have any idea how turn LEDs on and off? I found the code that apparently sends the commands and I found the corresponding event. My problem is, I have no idea where to put the lines of code to register this new event and link it to the accel sensors.
Any help would be greately appreciated. |
|