lowellbert
10-02-2008, 05:49 AM
Hello there.
I am building a project that uses the PIR Sensor www.parallax.com/Store/Sensors/ObjectDetection/tabid/176/ProductID/83/List/1/Default.aspx?SortField=ProductName,ProductName (http://www.parallax.com/Store/Sensors/ObjectDetection/tabid/176/ProductID/83/List/1/Default.aspx?SortField=ProductName,ProductName)
The Sensor is going to be controlling a fan, when the sensor is triggered the fan will turn on, (basically when a person enters the room).
When the person leaves i want it to turn off.
Where i need help is writing the source code. i am still a little new at writing code and any help would be greatly appreciated
I am using
BS2
PBasic 2.0
I am building a project that uses the PIR Sensor www.parallax.com/Store/Sensors/ObjectDetection/tabid/176/ProductID/83/List/1/Default.aspx?SortField=ProductName,ProductName (http://www.parallax.com/Store/Sensors/ObjectDetection/tabid/176/ProductID/83/List/1/Default.aspx?SortField=ProductName,ProductName)
The Sensor is going to be controlling a fan, when the sensor is triggered the fan will turn on, (basically when a person enters the room).
When the person leaves i want it to turn off.
Where i need help is writing the source code. i am still a little new at writing code and any help would be greatly appreciated
I am using
BS2
PBasic 2.0