Hi,

I tried reading Port 1 Pin 2. It seems to work until the mote is
re-disconnected. Somehow after the mote has been connected and then
disconnected again, the pin always reads a logical one. Do I have to
reset the pin somehow?

Cheers,
Urs


Philip Levis schrieb:
> On Feb 28, 2007, at 2:32 AM, Avanti Chitnis wrote:
> 
>> Hi,
>>
>> I am relatively new here.I am using TinyOS 1.1.15. I want an
>> application that does the following:a mote should be able to detect a
>> usb connection.When a mote is connected to a USB port, the Leds should
>> glow thereby indicating a connection .  Any ideas??
>>
> 
> If it's a telos variant, then you can do so by examining Port 1 Pin 2.
> Joe Polastre wrote an email on the topic to this list on July 27, 2005,
> with a lot of details; take a look through the archives.
> 
> Phil

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

Reply via email to