Arduino mega (1280) not compatible with mysensors ?



  • Hi,

    i own a arduino mega that i use for prototyping with mysensors.

    My sketch don't compile because of a probleme with the "lowpower' library. (you can simulate that easily by choosing a arduino mega 1280 as target.)

    I have managed to comile my skecth by modifying line 116 of lowpower.h as follows:
    #elif defined (AVR_ATmega2560) || defined (AVR_ATmega1280)

    Everithing is ok, but i have not extensively tested the energy saving features...
    So my question is :
    Is the mega1280 compatible with mysensors ? Or is it on purpose that it has not been included in the lowpower library ?


  • Admin

    You should be ok. I haven't studied the sleep modes for 1280 but it is probably the same as 2560.

    Let me know when you've tested gw.sleep() and what your results was.



  • Yes, i have made the same assumption.
    I'll let you know.


 

293
Online

8.7k
Users

9.5k
Topics

99.5k
Posts