Wanting to understand Ringo a little better, I decided to try to make a simple library for Ringo. it's probably a little bit slower compared to the official one, but I'm just doing this for the sake of learning...
I've implemented a few classes (motors, lightsensors, piezo, sweeper, metronome)
https://github.com/mithi/ringo-basicI'm going to implement buttons, and neopixels next..and correct me if I'm wrong... but I didn't see the button debounced? Did you find it uneccessary based on your testing?
I don't really understand the computations of the 6 IMU sensors yet, how you compute the location in the x,y axes and stuff like that based on the readings...Can you point me somewhere so I can understand how the mathematics work? thanks

I almost just copied your implementation of playChirp in my piezo.. without really understanding it too much as well.
