Asked — Edited
Resolved Resolved by DJ Sures!

Trying To Get Led To Flicker While Sound Is Playing

I am building a semi static BB8 (from Star Wars) out of foam. I have the EZb playing different sound files when a button is pressed (I have it set up for mobile, I press a button and it randomly plays one of several sound files). What I am trying to do is get it so that when it plays a sound file an LED flickers on and off while sound is playing and then stops when sound stops. I have managed to do the Sound servo script and it works, but the LED also flickers when ever there is a external sound. Can anyone help me out with this please.

Thank you. Jamie https://www.facebook.com/FoamtasticCreations/

User-inserted image


ARC Pro

Upgrade to ARC Pro

Don't limit your robot's potential – subscribe to ARC Pro and transform it into a dynamic, intelligent machine.

#9  

Just for thoroughness, there is also a talk servo control which only activates for text to speech (either Say or SayEZB). Doesn't apply in this case since you are using robot sounds, not speech,but helpful if someone looks here later.

Alan

#10  

Thank you, JustinRatliff I didn't know about the third servo sound EZB playback I will try that first. Cheers!.

thetechguru Thanks for mentioning the talk servo, I had looked in to that but liek you say it only works with speech. But for sure definitely helpful if someone reads this thread. Thank you