I should add that other chips are much better documented. For instance if you used an official Espruino WiFi there's a tutorial on using the F4 peripherals here: http://www.espruino.com/STM32+Peripherals
And there's a library to handle some basic tasks on the nRF52 used in Puck.js and Pixl.js as well: http://www.espruino.com/NRF52LL
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I should add that other chips are much better documented. For instance if you used an official Espruino WiFi there's a tutorial on using the F4 peripherals here: http://www.espruino.com/STM32+Peripherals
And there's a library to handle some basic tasks on the nRF52 used in Puck.js and Pixl.js as well: http://www.espruino.com/NRF52LL