-
• #2
Hi, Yes, that should be possible!
Once you have created a module, you just stick it in the node_modules folder of the SD card. There's an example of what it should look like here:
https://github.com/espruino/EspruinoDocs/blob/master/devices/DS18B20.js
HOWEVER This is likely to change - specifically in order to make modules compatible with Tessel, Firmata etc, the I2C commands may change slightly in the next few weeks.
-
• #3
So happy to hear that you're working on compatibility with Tessel!
I would like to hook up this sensor http://www.drotek.fr/shop/en/home/62-imu-10dof-mpu6050-hmc5883-ms5611.html via I2C to the espruino. Is this at all possible? If so, how can i save my js wrapper library to communicate with this sensor to the espruino SD card?