Comments (4)
This is actually a little more complicated than it sounds, and I don't think it
will be useful. First, the fact that there are 20 possible Arduino pins will
rarely be used, IMHO. You want to allocate space for the number of pins that
you are going to utilize for your project, not waste memory allocations for
pins you're not using. Of course, that is a choice that's up to the developer.
But I'd venture to say that 99+% of the time MAX_INT_PINS would not be used.
Rather, most projects using this library are going to choose a subset of the
Arduino's pins for interrupts, so the pin count (and thus the interrupt_count
array size) would be unique to each project.
Do you really have a project that uses *all* of the Arduino's pins for
interrupts? ...No LEDs, no I2C, no output of any kind?
I guess I don't understand the use case. Perhaps you can explain in more
detail?
Original comment by [email protected]
on 23 Jun 2012 at 10:33
from arduino-pinchangeint.
I'll leave this open for another week, to allow for more discussion. If at the
end of that period there is nothing further I will change to "Won't fix".
Original comment by [email protected]
on 28 Jun 2012 at 5:31
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from arduino-pinchangeint.
You can close it now.
Not critical, just a convenience
Original comment by [email protected]
on 28 Jun 2012 at 7:34
from arduino-pinchangeint.
Issue closed as per agreement.
Original comment by [email protected]
on 29 Jun 2012 at 12:22
- Changed state: WontFix
from arduino-pinchangeint.
Related Issues (20)
- Support for PORTA pin changes (>28-pin ATmegas) HOT 6
- Should PCintPort::curr be volatile? HOT 3
- Issue with using pinchangeint HOT 5
- PCintPort not declared.... HOT 3
- Seems not to distinguish between RISING/FALLING HOT 6
- [Question] HOT 1
- Only working 60%. HOT 2
- Interupt functions not getting called HOT 4
- Compatible with Arduino Pro-Mini? HOT 3
- interrupt on analog port
- interrupt on analog port HOT 1
- Incompatible with oficial SoftwareSerial library? HOT 1
- Issues with Arduino Mega HOT 1
- Recommended strategy for using of PinChangeInt to read RC receiver pulses HOT 26
- Issues testing interrupts on PORT D HOT 15
- Issue with pins 14 through 19 HOT 5
- SoftwareSerial.h incompatible with PinChangeInt.h in 1.0 HOT 5
- The wiki is down HOT 1
- Modify code comments AND documentation regarding the location of NO_PORTX_PINCHANGES HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-pinchangeint.