You will need to stop sourcing current on pin C2, e.g. by calling
GeneralIO.makeInput() followed by GeneralIO.clr(). A good place to do
it is in PlatformInit.init() withing MotePlatformP. If you use a
bootloader, make sure that you do it in the bootloader, as well. For
TOSBoot, the best place to put this code is the Hardware.init()
command in the platform specific HardwareC file.

I cannot comment on the beep at shutting down. Maybe you could just
gracefully shut down when the battery voltage goes below a threshold
by periodically checking it from a timer...

Janos

2009/12/17  <[email protected]>:
> Hi,
>
> mts300 beeps when I boot mote, and when they ran out of battery, and I want
> to stop this.
>
> I am using mts300 attached to iris mote.
> I am using TinyOS2.x and I found "// sounder enable (1) /disable (0)" in
> mts300.h.
> So, I modified mts300.h to disable sounder by changing "#define SOUNDER 1"
> to "#define SOUNDER 0".
> However, mts300 still beeps when boots and shuts down.
>
> Is there any way to stop mts300 from beeping???
>
>
> Thanks,
> John
>
>
>
>
> ________________________________
> Get Disney character's mail address on Yahoo! Mail
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to