Jump to content

Recommended Posts

Posted

Hello there,

 

the callback functionality of the SoundIntensity Bricklet will only fire if the measured value has changed. Thus I will not get measurements uniformly distributed over time (to calculate meaning ful averages). Is there a way to get continuous measurements (except maybe by actively querying every so often)?

 

Thanks in advance.

 

Best,

Martin

Posted

You can set the frequency of your measurements with set_debounce_period and then use the CALLBACK_INTENSITY_REACHED by setting an intensity threshold (set_intensity_callback_threshold) of something like "smaller than 4095", so it is always active.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...