0ae344841f
This prevents corrupting previous functional objects by stealing their pins out from under them. It prevents this by ensuring that pins are in default state before claiming them. It also verifies pins are released correctly and reset on soft reset. Fixes #4, instantiating a second class will fail. Fixes #29, pins are now reset too. |
||
---|---|---|
.. | ||
__init__.c | ||
__init__.h | ||
AnalogIn.c | ||
AnalogIn.h | ||
AnalogOut.c | ||
AnalogOut.h | ||
DigitalInOut.c | ||
DigitalInOut.h | ||
I2C.c | ||
I2C.h | ||
PWMOut.c | ||
PWMOut.h | ||
SPI.c | ||
SPI.h |