Integration of pinChange INT



  • Hello all,

    first of all, I just want thank you about this great job, I use MySensor library for around 1 year for my homeautomation sensor and i never get trouble.

    Now i'm building a door/window opening sensor and for some routing reason i need to use the pinChange interrupt to wakeup the library. I have succeed to do this by modifying a bit MyHwAVR.cpp file but why not including this possibilities inside the project ?

    Best regards


  • Mod

    If you have an account on github you can make a pull request on the mysensors project



  • ok, thanks for the idea, i will proceed as it.



  • @Robert77 ,

    Hi, I too am trying to use the interrupt to capture a water detect event. Can you tell me what you changed in MyHwAVR.cpp? And was there any other special code that I would not find in the Arduino information?

    Thanks

    John


  • Mod

    for a water detect event you can use the motion or door sensor example


Log in to reply
 

Suggested Topics

  • 1
  • 10
  • 2
  • 2
  • 5
  • 2

1
Online

11.2k
Users

11.1k
Topics

112.5k
Posts