Maximum value of a variable?
Posted: Sat Mar 10, 2018 2:20 am
Sometimes I see that even though the wiimote is standing still, its acceleration is sometimes more than 9.8, which should not be possible. I want to watch the wiimote[0].acceleration.z output over time and see what the biggest number so far has been. Occasionally it'll even be a 2 digit number, but only for a frame or two.
How can I watch the maximum output of a variable?
How can I watch the maximum output of a variable?