Skip to content

Add interrupts for input pin state changes #1

@rbaas293

Description

@rbaas293
  • We need to send a serial message out each time a input changes state. This must be done for whatever program is monitoring the inputs.
  • I have external interrupts set up currently on pins 2 and 3. these are the only two pins able to provide 'Out of the box' external interrupts. I'm thinking we can do away with these two and use an interrupt Service Routine (ISR) called every 1ms.
  • Will need to create a "Interrupt" header File. In that class there will be 'Flags' that get set to High when an input changes state. and at that point a Serial output will be sent out with each inputs current state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions