GreyGnome / EnableInterrupt

New Arduino interrupt library, designed for Arduino Uno/Mega 2560/Leonardo/Due
329 stars 73 forks source link

Teensy 3.2 compatibility? #52

Closed amerkay closed 5 years ago

amerkay commented 5 years ago

Hi,

Quick question, how can I get it working with Teensy 3.2?

I understandably get the Unsupported Arduino platform error.

Thanks!

GreyGnome commented 5 years ago

I don't think it's necessary, because the Teensy 3.2 is ARM-based. The library does support the Due, but that's only faked with a macro. I think doing something for the Teensy would be equally as simple. Maybe you could take a look at how the Due is handled.

The main reason for the library is because of the way the ATmega series does its interrupts... it's very quirky. The library makes the interrupts look "normal". You don't need to do that on an ARM based processor. On the other hand, if you want software that that's compatible with both platforms then I can see how you would need this feature.

Is that your use case?

On Fri, Oct 5, 2018 at 8:02 PM amerkay notifications@github.com wrote:

Hi,

Quick question, how can I get it working with Teensy 3.2 https://www.pjrc.com/store/teensy32.html?

I understandably get the Unsupported Arduino platform error.

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GreyGnome/EnableInterrupt/issues/52, or mute the thread https://github.com/notifications/unsubscribe-auth/ADSimT-ySE7OCwQly5kSReIkdYEY_pssks5uiAEigaJpZM4XLG7Q .

-- -Mike Schwager

GreyGnome commented 5 years ago

Closed as inactive, and likely not an issue.