Change following lines in sky/dev/light-sensor.c
#define INPUT_CHANNEL (1 << INCH_0)#define INPUT_REFERENCE SREF_0
#define PHOTOSYNTHETIC_MEM ADC12MEM0
#define TOTAL_SOLAR_MEM ADC12MEM0
Then, the light sensor channel is redirected into CO2.
I try to creat a new sensor file in Contiki for Telosb, but it alway fails.
Any one know offical documents about this issues? Thanks for the help
