Hi,
I want to compile the exact same code I used on my Photons to an Elecrton but the builder says about libairies: “Adafruit_MCP23017.h: No such file or directory”
I can compile on every Photon without problems. Can anyone explain why it’s not working on Electron ?
Many thanks for your help
Best
Julien
The most common cause for this is that your Electron is not running system firmware 0.6.0 or later. That’s required for libraries to work properly.
Connect the Electron by USB to your computer.
Put the Electron in DFU mode (blinking yellow) by holding down RESET and MODE, releasing RESET and continuing to hold down MODE while the main LED blinks magenta until it blinks yellow, then release.
Then from a command prompt or terminal window:
particle update
Indeed ! It works now. Particle should automatically update the Electron when it connects to the cloud
Thanks for your help