EnableInterrupt library- to attach interrupts to Arduino pins


hello,
i announce first public release of enableinterrupt library. of now, i'm calling alpha  code, , release version 0.2.

you can @ https://github.com/greygnome/enableinterrupt. see wiki here.

the enableinterrupt library new arduino interrupt library, designed versions of arduino- @ writing, uno (and other atmega328p-based boards, mini), due, leonardo (and other atmega32u4-based boards, micro), , mega2560 (and other atmega2560-based boards, megaadk). enables assign interrupt pins on chip support them, , presents common interface supported chips. means on arduino uno , mega don't give interrupt number, per attachinterrupt. rather, first argument pin number. naturally, must give number of pin that's supported on chip (see bestiary on usage wiki page).

the library blurs distinction between different interrupt types across different chip types, , presents single api interrupt on pin. please read the interrupt types here.

at time of writing code tested on arduino uno , mega adk, has not been tested on due or leonardo. due exceptionally simple code (simply #define), , leonardo pretty simple, pin-interrupt-wise. if give me bug report on platforms, i'd appreciate it. thanks.

will '1284p support included @ point?


Arduino Forum > Community > Exhibition / Gallery > EnableInterrupt library- to attach interrupts to Arduino pins


arduino

Comments