• Are you actually using 1v62? If I do it, I get:

    >I2C1.writeTo(0x26,1);console.log("Hello");
    WARNING: I2C device not responding
    Hello
    

    So it doesn't stop execution. I know 1v61 did and it was a pain, but it should be fixed now...

    The plan is to add exceptions in the long term, but as I understand it's a bit of a minefield. While I could implement something very workable quite easily, I think to get a standards compliant implementation is quite hard.

    Having said that, standards compliance is probably not such a big issue with that. If you're using exceptions for anything other than error handling, you probably deserve everything you get :)

About

Avatar for Gordon @Gordon started