Hi
i use tinyos 1.1, and i have a question: in SenseToInt there is a part of code
that i don't understand:
void task outputTask() {
uint16_t rCopy;
atomic {
rCopy = reading;
}
call IntOutput.output(rCopy 7);
}
why there is 7??
i try to use the code with the sensor of
i'm using the ADC interface for a sample application that collecte temperature data but in tossim the function getdata return random number when simulating wuth tossim so i want to setADC value to control the input value
so please can anyone help me how to setADCvalue using nesc languagethanks