Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
mralexis44600
mralexis44600's Profile
1
Posts
2
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
Get the battery status of a Wii remote.
[3 Replies]
08-Mar-2011 01:22 PM
Forum:
Integration and Hardware
Hello,
this is my first post and I want to apologize for my English. I'm a 19 years old french student.
I want to apologize for my bad level in processing too :P.
I discovered it thanks to Arduino, and I use it to create interfaces between me (my laptop) and my robot (my arduino).
I am planning to use a wii mote for my robot. I installed all the stuff and:
IT WORKS!
it works great!
let's talk about my problems.
I can use the "example" project. I understand the result but not how it works (i don't need to re-invent wheels-frenche expression-)
But for my project It would be nice if I could use more features of the wiimote:
-get the battery status
-control the leds
-get the nunchuck acc & joy.
for the moment I am usign this sketch:
http://letsmakerobots.com/node/23723
( i'm not the autor)
I found this:
http://en.sourceforge.jp/projects/wrj4p5/wiki/Wrj4P5(en)
wich seems to be very suitable for my problem.
For the moment I am using this:
battery=100*wii.rimokon.getBatteryLevel();
println(battery);
with
Wrj4P5 wii;
at the beginning of my sketch.
it sends me 0,29% instead of 44%! (checked with another non-processing method)
So my questions are:
-what have I done wrong with the battery status?
-how can I drive the LEDS?
-Has anyone an exemple of a sketch using wii remote + nunchuck?
Thank you for reading, and sorry I have wrote a lot!
«Prev
Next »
Moderate user : mralexis44600
Forum