19 Jun 2012 12:47
Re: (no subject)
antonio rosa <antoniorosarodriguez <at> gmail.com>
2012-06-19 10:47:32 GMT
2012-06-19 10:47:32 GMT
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ás,<br> 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.<br><br>Regards, Antonio Rosa.<br><br></p> <div class="gmail_quote">2012/1/31 antonio rosa <span dir="ltr"><<a href="mailto:antoniorosarodriguez <at> gmail.com" target="_blank">antoniorosarodriguez <at> gmail.com</a>></span><br><blockquote class="gmail_quote"> Thanks for your help. I'll try it and them I'll respond you about the results.<div class="HOEnZb"><div class="h5"> <br><br><div class="gmail_quote">2012/1/23 András Bíró <span dir="ltr"><<a href="mailto:bbandi86 <at> gmail.com" target="_blank">bbandi86 <at> gmail.com</a>></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> <<a href="mailto:antoniorosarodriguez <at> gmail.com" target="_blank">antoniorosarodriguez <at> gmail.com</a>> wrote:<br> > Hi to all,<br> > I want to ask if there is another example of how to use the<br> > McuPowerOverride interface than the example that you can find in the<br> > atmega128 timer system. I am using a buzzer and I need the buzzer sounds<br> > during several seconds without interrupts. I can't do it because of the<br> > McuSleepC component sleeps the microcontroler and stops the PWM mode. With<br> > TinyOS-1.x and Moteworks I used the HPLPowermanager enable and disable<br> > commands, but now in TinyOS-2.1.1 there is not these commands..<br> ><br> > Bests Regards, Antonio Rosa.<br> ><br> ><br> </div></div>> _______________________________________________<br> > Tinyos-help mailing list<br> > <a href="mailto:Tinyos-help <at> millennium.berkeley.edu" target="_blank">Tinyos-help <at> millennium.berkeley.edu</a><br> > <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>
RSS Feed