Wow - Now it is fast as expected!
SDA = B7; SCL = B6; // Pico i2c = new I2C(); i2c.setup({sda:SDA,scl:SCL});
Now a i2c.readFrom(0,1) returns a new Uint8Array([255]) shouldn't this throw an exception?
i2c.readFrom(0,1)
new Uint8Array([255])
How to decide if this id is attached or not?
@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.
Wow - Now it is fast as expected!
Now a
i2c.readFrom(0,1)
returns anew Uint8Array([255])
shouldn't this throw an exception?How to decide if this id is attached or not?