Tidy of code, comments, functions updated

Dependencies:   mbed

Revision graph

The revision graph only works with JavaScript-enabled browsers.