I set the led on an Arduino Leonardo (pin 13) to change its brightness like the distance from the ground of a bouncing ball that looses 40/% of its kinetic energy on each bounce. total time : 10 secs. See also <a href="//commons.wikimedia.org/wiki/File:ArduinoBlinkingLikeABouncingBall.3.ogv" title="File:ArduinoBlinkingLikeABouncingBall.3.ogv">ArduinoBlinkingLikeABouncingBall.3</a>.
<p>.
</p>
I'll try to update the code <a rel="nofollow" class="external text" href="https://github.com/tsester/sketchbook/tree/master/bouncing_ball">here(git)</a>.
<a href="//commons.wikimedia.org/wiki/User:Enfwm" class="mw-redirect" title="User:Enfwm">Spyros Papanastasiou</a>
2015-07-10
<span class="int-own-work" lang="en">Own work</span>