Hi David,
Is there any example code of using GPIO?
Thanks!
Yicheng
-Original Message-
From: David Moss [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 18, 2007 6:50 PM
To: yicheng; tinyos-help@Millennium.Berkeley.EDU
Subject: Re: [Tinyos-help] how to shutdown VCC power output on Tmote sky
VCC is normally connected directly to the battery. So no,
you can't control that without unplugging the battery.
Why don't you drive a pin high from the microcontroller to
power your external resistors? Or, if the current
consumption is greater than the MSP430 can supply, use a
GPIO-toggled FET switch to supply current to your
resistors.
-David
On Thu, 18 Jan 2007 18:00:11 -0600
"yicheng" <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> I have some resistors attached to the Analog VCC output
>of my Tmote Sky. Is
> there any component that provides the function of
>cutting off VCC output?
> Otherwise I have to take out batteries every time I
>don't use it. The
> battery will be drawn out quickly if I leave it on the
>Tmote.
>
>
>
> Thanks!
>
> Yicheng
>
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help