Hi Faraz,
Power Pins follow the negative logic, You can turn them on by the statement;
TOSH_MAKE_PW0_OUTPUT( ); // configuring it as an o/p pin
TOSH_SET_PW0_PIN( ); // initialize
TOSH_CLR_PW0_PIN( ); // set it as high
Dipti
----- Original Message -----
From: Faraz Zahabian
To: [email protected]
Sent: 2007 May 16 6:14 AM
Subject: [Tinyos-help] Turning on the PW0 pin
Hello everyone,
I am using a sensor board on top of a mica2dot platform and in order to use
some of the sensors the PW0 pin should be on. does anyone know how to turn it
on?
Thanks you
Faraz
------------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help