Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated for the latest Adafruit_ZeroTimer library (version 2.0). #2

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

kbarni
Copy link

@kbarni kbarni commented Jan 19, 2019

Now it can be used with the official release, no need to install the outdated version from the avdweb website.

NOTE The interrupt handling functions don't need bizarre parameters anymore. Please update the documentation accordingly.

So

void ISR_function(struct tc_module *const module_inst)

becomes simply:

void ISR_function()

Now it can be used with the official release, no need to install the outdated version from the avdweb website.

**NOTE** The interrupt handling functions don't need bizarre parameters anymore. Please update the documentation accordingly.

So

   void ISR_function(struct tc_module *const module_inst)

becomes simply:

   void ISR_function()
… program freezes.

Added 3 functions to the CPP file.
Bug corrected in the init function: it called PWMOut even if the timer didn't have a pin attached.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant