Hi,

I have a newb question.

What does TOSH_READ return ?

static inline int TOSH_READ_##name##_PIN()
{return (inp(PIN##port) & (1 << bit)) != 0;}

I'm reading data off a digital 5v sensor. So does it return the
voltage or just TRUE/FALSE ?

Sorry if it sounds stupid, but I'm just trying to make sure.

Thanks in advance.

Regards,

Howard Gani
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to