I think you are asking about how to generate the external signal?
If you are thinking a pushbutton switch or something, you can
probably turn on an internal pullup resistor in the controller
(at least you can with the ATMEGA ports) and just have the switch
connect between the input pin and Ground. If you can't do the
internal pullup thing, then use an external 10-100K resistor from
the input pin to the Vcc (battery), where the switch will "short"
it to ground when it is pushed.
If you have some other sort of binary sensor, then just make sure
that its output high voltage doesn't exceed the tmote battery voltage.
MS
Terence Joseph wrote:
Hi All,
I wish to send a binary value to one of the pins on the expansion
connector of the Tmote Sky. The pin that looks easiest to do this on is
pin 3 of the 6 pin connector. With pins 7 and 10 of the 10 pin
connector you have to solder a 0 Ohm resistor which I'd rather not do.
My question is, in TinyOS what is the best/easiest way to send a value 1
or a 0 to pin 3 of the 6 pin expansion connector (i.e. Exclusive Digital
I/O 2 - GIO2)?
Thanks for your help.
Regards,
Terence.
_________________________________________________________________
Discover the magic of RSS feeds at MSN Ireland! http://ie.msn.com/
_______________________________________________
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