Skip to content

Need # define for MAx # of interruptable pins #11

@GoogleCodeExporter

Description

@GoogleCodeExporter

Would you please add a # define that defines
the max # of interruptable pins?

//IS
uint8_t interrupt_count[20]={0}; // 20 possible arduino pins

//SHOULD BE SOMETHING SIMILAR
uint8_t interrupt_count[MAX_INT_PINS]={0}; // 20 possible arduino pins

This # define should be set based on the chip.
168/328's vs 2560, etc

All codes (especially loops) should reference the # define
to avoid overrwriting the end of the array

Original issue reported on code.google.com by cappy2...@gmail.com on 14 Jun 2012 at 12:45

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions