Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Transmitting IR breaks sound generator
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Transmitting IR breaks sound generator

by ICTheMatrix on Sat Aug 04, 2018 12:20 pm

Using MakeCode on a CPX, after I call the "infrared send number" block, any attempts to make sounds result in scratchy clicking.

I'd like to make a simple laser tag game but I'm getting the same result on any of my four brand new CPXs. A wild stab in the dark, but I'm wondering if the infrared and sound implementations are sharing a timer? It's as though the IR is changing a timer pre-scaler and the sound implementation isn't changing it back.

Is anyone/everyone else having this problem?

ICTheMatrix
 
Posts: 2
Joined: Tue Sep 16, 2014 2:21 am

Re: Transmitting IR breaks sound generator

by adafruit2 on Tue Aug 07, 2018 4:47 pm

yeah this is a threading issue - we know it exists but we don't have a fix!

adafruit2
Site Admin
 
Posts: 19399
Joined: Fri Mar 11, 2005 7:36 pm

Please be positive and constructive with your questions and comments.