Go Down

Topic: Software serial library using hardware interrupt (Read 766 times) previous topic - next topic

hansibull

Hi!
Does there exist a software serial library that works on microcontrollers without PCINT? The ATmega64 and ATmega128 have 8 "general" interrupt pins, but no PCINT.
MightyCore -  ATmega1284, mega644, mega324, mega164, mega32, mega16, mega8535
Github.com/MCUdude/MightyCore

MiniCore - ATmega8, mega48, mega88, mega168, mega328
Github.com/MCUdude/MiniCore

Robin2

My Yet Another Software Serial (written for an Uno) uses the external interrupts. Maybe it could be adapted to meet your requirement.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

CrossRoads

Or change to a compatible device that does have PCINTs, like the Atmega1281 or 2561.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

hansibull

Or change to a compatible device that does have PCINTs, like the Atmega1281 or 2561.
No, that's not an option. The ATmega64/128 are much cheaper, and should fit most applications where 4kb of RAM
MightyCore -  ATmega1284, mega644, mega324, mega164, mega32, mega16, mega8535
Github.com/MCUdude/MightyCore

MiniCore - ATmega8, mega48, mega88, mega168, mega328
Github.com/MCUdude/MiniCore

Go Up