Go Down

Topic: Best arduino with 3 pins interupts. (Read 511 times) previous topic - next topic

maxmax39

Hi,
I try to find a little arduino with 3 pins where I could use interrupts.
I made a code with mega and it work.  But I only use 3 input so mega is too big for my application.

Maybe there is a other arduino with 3 input whit interrupts.

Thanks
Max

Coding Badly


I believe one (or more) of the Teensy boards have three external interrupts...
http://www.pjrc.com/store/teensy.html
http://www.pjrc.com/store/teensypp.html

maxmax39

I never use that I have to make many modification in my code?

I forgot to speak about usb connection with mega I use it to communicate with my .net appz.

Thanks
Max

dc42

Have you looked at pin change interrupts? You can use them to get interrupts on lots of input pins even on an Arduino Uno.
Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

maxmax39


westfw

Pin change interrupts would normally require extra work to figure out which pin they're on, but if you only need three interrupts, you have the two 'external' interrupts and could configure exactly one pin-change interrupt, and it would be relatively easy!

maxmax39

I tried that on leonardo.  I tried the example with lib but serial only show "...."

Go Up