timer interrupts


i want use timer interrupts activated conditionally, , i'm trying use duetimer library @ https://github.com/ivanseidel/duetimer. don't see examples using detachinterrupt() , arduino command requires pin number in detachinterrupt() parentheses, don't understand how stop timer interrupt using detachinterrupt(). thank suggestions.  :smiley-mr-green:

you call timer.dettachinterrupt() detach handler that
timer object.  can re-attach later if like, or whatever.  unlike
the arduino attachinterrupt there object each timer channel, not a
global object external interrupts, no need identify channel.


Arduino Forum > Products > Arduino Due (Moderator: fabioc84) > timer interrupts


arduino

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support