antonio rosa | 19 Jun 2012 12:47
Picon

Re: (no subject)

Hi András,
  I'm sorry for respond   you so late. I have not  been able to do it before because I've been working with other topics. Yesterday, I followed your advices and the buzzer works well without problems.

Regards, Antonio Rosa.

2012/1/31 antonio rosa <antoniorosarodriguez <at> gmail.com>
Thanks for your help. I'll try it and them I'll  respond  you about the results.


2012/1/23 András Bíró <bbandi86 <at> gmail.com>
Hi Antonio,

Check the driver hpls in the atm128rfa1 directory (which is only in
the svn for now).

Basicly, you should write an McuPowerOverride.lowestState() function
which will returns ATM128_POWER_IDLE (or whatever state the PWM needs)
if the buzzer is on, and ATM128_POWER_DOWN if not, and call the
McuPowerState.update() command if the buzzer turns on or off. Both of
them should be wired to McuSleepC.

Andris


On Mon, Jan 23, 2012 at 5:28 PM, antonio rosa
<antoniorosarodriguez <at> gmail.com> wrote:
> Hi to all,
> I want to ask if there is another  example of how to  use the
> McuPowerOverride interface than the example that you can  find in the
> atmega128 timer system. I am using a buzzer and I need  the buzzer sounds
> during several seconds without interrupts. I can't  do it because of the
> McuSleepC component sleeps the microcontroler and stops the PWM mode. With
> TinyOS-1.x and Moteworks I used the HPLPowermanager enable and disable
> commands, but now in TinyOS-2.1.1 there is not these commands..
>
> Bests Regards, Antonio Rosa.
>
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help <at> millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


<div>
<p>Hi Andr&aacute;s,<br>&nbsp; I'm sorry for respond&nbsp;&nbsp; you so late. I have not&nbsp; been able to do it before because I've been working with other topics. Yesterday, I followed your advices and the buzzer works well without problems.<br><br>Regards, Antonio Rosa.<br><br></p>
<div class="gmail_quote">2012/1/31 antonio rosa <span dir="ltr">&lt;<a href="mailto:antoniorosarodriguez <at> gmail.com" target="_blank">antoniorosarodriguez <at> gmail.com</a>&gt;</span><br><blockquote class="gmail_quote">
Thanks for your help. I'll try it and them I'll&nbsp; respond&nbsp; you about the results.<div class="HOEnZb"><div class="h5">
<br><br><div class="gmail_quote">2012/1/23 Andr&aacute;s B&iacute;r&oacute; <span dir="ltr">&lt;<a href="mailto:bbandi86 <at> gmail.com" target="_blank">bbandi86 <at> gmail.com</a>&gt;</span><br><blockquote class="gmail_quote">Hi Antonio,<br><br>
Check the driver hpls in the atm128rfa1 directory (which is only in<br>
the svn for now).<br><br>
Basicly, you should write an McuPowerOverride.lowestState() function<br>
which will returns ATM128_POWER_IDLE (or whatever state the PWM needs)<br>
if the buzzer is on, and ATM128_POWER_DOWN if not, and call the<br>
McuPowerState.update() command if the buzzer turns on or off. Both of<br>
them should be wired to McuSleepC.<br><br>
Andris<br><div><div>
<br><br>
On Mon, Jan 23, 2012 at 5:28 PM, antonio rosa<br>
&lt;<a href="mailto:antoniorosarodriguez <at> gmail.com" target="_blank">antoniorosarodriguez <at> gmail.com</a>&gt; wrote:<br>
&gt; Hi to all,<br>
&gt; I want to ask if there is another&nbsp; example of how to&nbsp; use the<br>
&gt; McuPowerOverride interface than the example that you can&nbsp; find in the<br>
&gt; atmega128 timer system. I am using a buzzer and I need&nbsp; the buzzer sounds<br>
&gt; during several seconds without interrupts. I can't&nbsp; do it because of the<br>
&gt; McuSleepC component sleeps the microcontroler and stops the PWM mode. With<br>
&gt; TinyOS-1.x and Moteworks I used the HPLPowermanager enable and disable<br>
&gt; commands, but now in TinyOS-2.1.1 there is not these commands..<br>
&gt;<br>
&gt; Bests Regards, Antonio Rosa.<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Tinyos-help mailing list<br>
&gt; <a href="mailto:Tinyos-help <at> millennium.berkeley.edu" target="_blank">Tinyos-help <at> millennium.berkeley.edu</a><br>
&gt; <a href="https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help" target="_blank">https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help</a><br>
</blockquote>
</div>
<br>
</div></div>
</blockquote>
</div>
<br>
</div>

Gmane