acassis commented on PR #3477:
URL: https://github.com/apache/nuttx-apps/pull/3477#issuecomment-4486716752

   > @acassis
   > 
   > > > > @ghnotgood maybe you could use it with audio tone (see 
nuttx/drivers/audio/tone.c), this way it will be available for all boards/MCUs 
that have PWM support.
   > 
   > > > @acassis Maybe, but I do not have a board with a speaker connected to 
PWM output, so I would not be able to test it.
   > 
   > > You don't need a board with a speaker, actually the audio tone works 
with ordinary buzzer, see:
   > > https://www.youtube.com/watch?v=3U6OZaGnYcc
   > 
   > I am very sorry, but I am probably missing the point. I have a custom 
board where a speaker is connected to ADC and I use two oneshot timers to 
control the sound. I have no buzzer. A library in this PR helps me split 
parsing RTTTL string from actually making the sound.
   
   @ghnotgood ahh Ok, understood, probably you mean DAC instead of ADC! So, did 
you implement a kernel driver to control this speaker over DAC and timers? It 
should be nice to very it integrated into mainline to be used as reference.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to