Spark for smartthings window blinds
This project will provide both the Smartthings device type and code for the Spark Core
This project will control an analog servo with both on off and positional settings
To use this code use the Smartthings ide to create a new device type entitled Spark Core Blinds Insert the Spark Core Blinds code into the device type code Create a new device and then enter your Spark Core device id and Spark access token
Then use the Spark Core code and flash the code to the spark core. Setup the Spark Core to the servo on pin A4 (or change the code to be something else) It is good to note that this is coded to an analog servo.