ivanseidel / ivanseidel/DueTimer

about getperiod();

Open
#74 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
217
Forks
87
PR merge metrics
No merged PRs in 30d

Description

Hi all, i am the beginner of arduino world. I want to measure a nano second pulse width for my application. After studying the literature i come to know the solution is DueTimer library. In this library i can measure the pulse width using getperiod() function. But i don't know how to use this function also i did't get any example code using this function. Is it like pulseIn command or something else. Please give the details of syntax of getperiod function and brief details about the time measurement.
Thank you in advance.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the DueTimer library's getperiod() function and read how it measures pulse timing. Document the function syntax, explain how its behavior differs from pulseIn, and include a brief usage example so a reader can determine the measured pulse width.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino, cpp
Domain
documentation, embedded-iot
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.