arduino / arduino/ArduinoCore-avr

Feature Request: reset timers to default

Open
#254 0 comments 0 reactions 1 assignee Claimed by @cmaglie View on GitHub
Dominant language
C
Stars
1.5k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

When using a multiplicity of libraries, like e.g. Servo and Tone, some of the timers get blocked, what stalls the PWM in some of the pins.

I would hereby suggest adding a function to the API to reset the timers to the default values. This would be great to make sure functions return to their default values after using those libraries.

The function could be called e.g. resetTimers() or similar

/d

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.