You are reading a single comment by @enaon and its replies. Click here to read the full conversation.
  • something like that works fine for getting raw data on touch/swipe

    var i2c=new I2C(); i2c.setup({scl:D34, sda:D33, bitrate:100000});
    TC= function(){
    i2c.writeTo(0x15,0);
    print(i2c.readFrom(0x15,7));
    };
    Bangle.on('touch', TC);
    Bangle.on('swipe', TC);

About

Avatar for enaon @enaon started