Update ExpGPIO class to fix configure initialstate bug
Currently, if configure is called on a digital out pin from the ExpGPIO class with an initial state, (e.g. ExpGPIO(ioexp, 10).configure(DIGITAL_OUT, 1);, the initial state is treated as a callback and the pin is initialized with its default value of 0.
This commit drops in the updated ExpGPIO class from https://github.com/electricimp/reference/blob/master/hardware/expGpio/expGpio.device.nut that gives ExpGPIO's configure function the same interface as the standard pin's configure function.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.