circuitpython/atmel-samd/common-hal/microcontroller
Scott Shawcroft 0ae344841f atmel-samd & esp8266: Make sure pins are not already in use.
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.
2016-12-07 15:21:14 -08:00
..
__init__.c Add try_lock and unlock to I2C and SPI classes to make sure things 2016-12-02 15:46:12 -08:00
Pin.c atmel-samd & esp8266: Make sure pins are not already in use. 2016-12-07 15:21:14 -08:00
types.h atmel-samd: Slim down the pin struct to save ~1200 bytes. 2016-12-01 13:47:18 -08:00