Matlab Arduino: using the timer function in matlab to find a frequency

조회 수: 4 (최근 30일)
Aaron Atkinson
Aaron Atkinson 2019년 12월 7일
답변: Urmila Rajpurohith 2021년 2월 26일
I am currently coding a pressure sensor to take a "ping" whenever the pressure exceeds a certain limit and I would like to take a ping/second for the output. I was thinking about using a timer to do this by having the time between pings be saved to an array that would be averaged out. The problem is that I really dont have a clue on how to use the matlab timers and the online documentation I've found has been confusing at best. How would I go about doing this in matlab?

답변 (1개)

Urmila Rajpurohith
Urmila Rajpurohith 2021년 2월 26일

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by