GreyGnome / EnableInterrupt

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

ATmega328PB #48

Closed hgruenebe closed 6 years ago

hgruenebe commented 6 years ago

Hi GreyGnome, is it possible to get the Lib work with an 328PB ? Would be great Thx.

GreyGnome commented 6 years ago

Hmmm... Isn't this roughly equivalent to an ATmega328? Could you tell me the differences in the Interrupt structure? I imagine they would be equivalent.

The 328PB would have some additional QTouch features. I would say, if you treat the 328PB like a 328 then you should be good.

On Fri, Apr 6, 2018 at 7:57 AM, hgruenebe notifications@github.com wrote:

Hi GreyGnome, is it possible to get the Lib work with an 328PB ? Would be great Thx.

— 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/48, or mute the thread https://github.com/notifications/unsubscribe-auth/ADSimSZrXikT26412b4EopBD6nCwBRHxks5tl2ZHgaJpZM4TKArV .

-- -Mike Schwager

hgruenebe commented 6 years ago

Thank you for your response. Good news. It's working fine with my Pololu A-Star 328pb Board :-) The main difference and reason for me to use the 328pb, is the second hw serial port. I have to use your lib as the base of another lib, but I need for my projects two serial lines (one for meassuring, the scond for serial monitoring/ IDE transfer). Because EnableInterrupt does not work together with softwareserial or other alternatives, the 328pb would be an valid possibility to have an second hw serial port. Yesterday I had some problems with the IDE an the right arduino board description. Today I gave him another try and it works. I assume the most reasonable problem was the hw wiring of my breadboard :-((

GreyGnome commented 6 years ago

I wonder if you have tried the AltSoftSerial library? See https://github.com/PaulStoffregen/AltSoftSerial. That said, there's nothing more to be done here so I will close this issue.