Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Bug Reports
  3. Arduino mega (1280) not compatible with mysensors ?

Arduino mega (1280) not compatible with mysensors ?

Scheduled Pinned Locked Moved Bug Reports
3 Posts 2 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sorg
    wrote on last edited by
    #1

    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 ?

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sorg
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        18

        Online

        11.7k

        Users

        11.2k

        Topics

        113.1k

        Posts


        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • MySensors
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular