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. General Discussion
  3. RFM69 sleep mode

RFM69 sleep mode

Scheduled Pinned Locked Moved General Discussion
25 Posts 9 Posters 13.8k Views 7 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.
  • N Offline
    N Offline
    napo7
    Hardware Contributor
    wrote on last edited by
    #21

    Thanks !

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Fabien
      wrote on last edited by
      #22

      @napo7 : you can use sleep with interrupts :
      https://www.mysensors.org/download/sensor_api_20#sleeping

      mfalkviddM 1 Reply Last reply
      0
      • F Fabien

        @napo7 : you can use sleep with interrupts :
        https://www.mysensors.org/download/sensor_api_20#sleeping

        mfalkviddM Offline
        mfalkviddM Offline
        mfalkvidd
        Mod
        wrote on last edited by
        #23

        @Fabien MySensors sleep only supports hardware interrupts. napo7 is using pin change on analog pins which needs to be done in software.

        1 Reply Last reply
        1
        • N Offline
          N Offline
          napo7
          Hardware Contributor
          wrote on last edited by
          #24

          That's not a software interrupt. In facts, the atmega supports interrupt on all pins, and also waking-up the device from any pin change, but the sleep function only support "external interrupts" which can only be triggered on pin 2 and 3.

          mfalkviddM 1 Reply Last reply
          1
          • N napo7

            That's not a software interrupt. In facts, the atmega supports interrupt on all pins, and also waking-up the device from any pin change, but the sleep function only support "external interrupts" which can only be triggered on pin 2 and 3.

            mfalkviddM Offline
            mfalkviddM Offline
            mfalkvidd
            Mod
            wrote on last edited by
            #25

            @napo7 thanks for the clarification

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


            10

            Online

            11.7k

            Users

            11.2k

            Topics

            113.0k

            Posts


            Copyright 2019 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