You can find all you need to know here: http://hackaday.com/2015/09/15/how-to-build-a-pocket-sized-mbed-signal-generator/