This project contains Application to light sensor
The testcase is related to Question 3 in HW1, which says the 
the application has to set the RED led in the AMBIENT LIGHT and
when the sensor is closed with hand, it should stop the RED led.

This application exactly does the same thing using a periodic task.
In each cycle the application reads the light sensor reading. As long the sensor
reading is above threshold, it sets the RED led, and when the sensor reading falls
below the threshold(which means it is convered by hand), the  application
clears the RED led.

How to test
-----------

step 1: make clean; make program


Note: Makefile may need to be updated to change /devttyUSB0 or /dev/ttyUSB1
as needed to select the mote on which application needs to be loaded.


