Issues with PIR sensor code from Arduino

Pin declaration seems to be a problem: http://docs.spark.io/firmware/#input-output

You could take a look at this post for inspiration. It’s about testing the Spark.publish function, and uses a PIR sensor to do so. Great for learning both :slight_smile:

2 Likes