Dig down into the User Button interface and see how it works.
You should be able to clone it to use a different I/O pin.
Also, in Boomerang/T1 there is the MSP430GeneralIOM interface
that allows access to digital I/O on every available pin.

MS


Giovanni Rossi wrote:
hi
I try to explain better.
So I need to send by telosb 1 byte which indicate a flag = 1 or 0.
The value have to depend by on - off switch.
switch off --> 0
switch on --> 1

This value have to depend by user, but I used THE USER SWITCH for another 
application yet, so I need to use a Expansion.

I choose to use pin 1 ( AVCC) and pin 7 ADC2 for a on off switch. I choosed 
ADC3 because it has a resistance (GIO 1) that stop apossible noise. Can I do 
it???

you can find all here http://www.ece.osu.edu/~bibyk/ee582/telosMote.pdf
Schematic on page 7

thanks



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

--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew

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

Reply via email to