Entries from 2014-09-10 to 1 day

6. Turn on LED when it's dark - Spark Core

Now I know how to use the photo resistor. Let’s create useful application, which would turn on LED when it’s dark :) I use exact same bread board setting in 5. Photo Resistor. The point here is we’re using isDark & isOn variables. int volt…

5. Photo Resistor - Spark Core

Read data sheet for Photo Resistor (http://docs.spark.io/assets/datasheets/makerkit/photoresistor.pdf). It says that resistance decreases with increasing light intensity. I understand it, but how can we use it? As first step, I think debug…