It uses I2C - get out the documentation, and start talking to it over I2C. Espruino makes it super easy to interact with I2C devices in real time, since you can just do it through the console. Figure out how to make it work (maybe look at the code for other microcontrollers) and do it.
Once you have code that works, convert it to a module (use one of the existing ones and copy the structure of it). Writing modules in Espruino is a piece of cake compared to writing a library for Arduino.
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.
Well, write a module!
It uses I2C - get out the documentation, and start talking to it over I2C. Espruino makes it super easy to interact with I2C devices in real time, since you can just do it through the console. Figure out how to make it work (maybe look at the code for other microcontrollers) and do it.
Once you have code that works, convert it to a module (use one of the existing ones and copy the structure of it). Writing modules in Espruino is a piece of cake compared to writing a library for Arduino.