this is what I mean
sample for line 48
var data = this.i2c.readFrom(C.PCA9685_MODE1, 1);
to
var data = this.read(C.PCA9685_MODE1, 1);
@MaBe started
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.
this is what I mean
sample for line 48
var data = this.i2c.readFrom(C.PCA9685_MODE1, 1);
to
var data = this.read(C.PCA9685_MODE1, 1);