You are reading a single comment by @DrAzzy and its replies. Click here to read the full conversation.
  • Identical behavior when I changed my code to this:

    var digipot=require("MCP4xxxSPI").connect(SP­I2,C4,1,128);

    Interestingly enough, once it has worked, reset() doesn't make it stop working. IE, if I do the above, then fs.readdir(), then press "send to espruino" again (resetting the espruino), it works immediately without having to do anything.

    It's something in the espruino - if I power cycle the part after making it with with fs, it continues to work.


Avatar for DrAzzy @DrAzzy started