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. Development
  3. some problem in sensor + repeater !

some problem in sensor + repeater !

Scheduled Pinned Locked Moved Development
15 Posts 3 Posters 3.3k Views 2 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.
  • R Reza

    @boozz
    :) ok but if it is possible guidance me just This time
    this is true ?
    sleep(SLEEP_TIME); ~~> wait(SLEEP_TIME); ?
    thank you

    B Offline
    B Offline
    boozz
    wrote on last edited by
    #6

    @Reza
    just try it and see what happens

    R 1 Reply Last reply
    2
    • B boozz

      @Reza
      just try it and see what happens

      R Offline
      R Offline
      Reza
      wrote on last edited by
      #7

      @boozz said:

      just try it and see what happens

      ok thank you :(

      1 Reply Last reply
      0
      • scalzS Offline
        scalzS Offline
        scalz
        Hardware Contributor
        wrote on last edited by scalz
        #8

        @Reza
        @boozz has already answered you how to. You should try, that does not hurt, and you may be happy by the result. You don't want a sleeping repeater? better a waiting repeater!
        That said i would not use the wait, it's possible to code this quicker. But it's a little bit more advanced.
        I advice you to read some reference about Arduino etc... and try. always try or you don't learn anything!
        An howto which could be useful for you, perhaps later, is the blink led without delay from Arduino Reference for instance. And lot of other things. That's not always easy to write code for others, can take time or not same config. and others don't learn then..

        R scalzS 2 Replies Last reply
        4
        • scalzS scalz

          @Reza
          @boozz has already answered you how to. You should try, that does not hurt, and you may be happy by the result. You don't want a sleeping repeater? better a waiting repeater!
          That said i would not use the wait, it's possible to code this quicker. But it's a little bit more advanced.
          I advice you to read some reference about Arduino etc... and try. always try or you don't learn anything!
          An howto which could be useful for you, perhaps later, is the blink led without delay from Arduino Reference for instance. And lot of other things. That's not always easy to write code for others, can take time or not same config. and others don't learn then..

          R Offline
          R Offline
          Reza
          wrote on last edited by
          #9

          @scalz said:

          has already answered you how to. You should try, that does not hurt, and you may be happy by the result. You don't want a sleeping repeater? better a waiting repeater!
          That said i would not use the wait, it's possible to code this quicker. But it's a little bit more advanced.
          I advice you to read some reference about Arduino etc... and try. always try or you don't learn anything!
          An howto which could be useful for you, perhaps later, is the blink led without delay from Arduino Reference for instance. And lot of other things. That's not always easy to write code for others, can take time or not same config. and others don't learn then..

          hi my friend , i know this but about this issue , i need this quickly and I don't have time for begin in arduino and full programming :(

          1 Reply Last reply
          0
          • scalzS Offline
            scalzS Offline
            scalz
            Hardware Contributor
            wrote on last edited by scalz
            #10

            Have you tried ??
            well, about needing quickly, without learning... you're perhaps misunderstanding a bit things.. imho mysensors is great, open, dynamic community which try to make things easier for noobs. Sure that's very attractive, but don't forget you're in arduino/dev/mcu world...if you don't want to read&learn a minimum, you will be stuck in the examples sketch folders...

            R 1 Reply Last reply
            3
            • scalzS scalz

              Have you tried ??
              well, about needing quickly, without learning... you're perhaps misunderstanding a bit things.. imho mysensors is great, open, dynamic community which try to make things easier for noobs. Sure that's very attractive, but don't forget you're in arduino/dev/mcu world...if you don't want to read&learn a minimum, you will be stuck in the examples sketch folders...

              R Offline
              R Offline
              Reza
              wrote on last edited by
              #11

              @scalz said:

              Have you tried ??
              well, about needing quickly, without learning... you're perhaps misunderstanding a bit things.. imho mysensors is great, open, dynamic community which try to make things easier for noobs. Sure that's very attractive, but don't forget you're in arduino/dev/mcu world...if you don't want to read&learn a minimum, you will be stuck in the examples sketch folders...
              i want try to learn but not now ! now i need this quickly :( so after this i try to learn step by step. . .

              1 Reply Last reply
              0
              • scalzS Offline
                scalzS Offline
                scalz
                Hardware Contributor
                wrote on last edited by
                #12

                okay but have you tried wait instead of sleep?? we still don't know..

                R 1 Reply Last reply
                1
                • scalzS scalz

                  okay but have you tried wait instead of sleep?? we still don't know..

                  R Offline
                  R Offline
                  Reza
                  wrote on last edited by
                  #13

                  @scalz said:

                  okay but have you tried wait instead of sleep?? we still don't know..

                  no
                  well , this topic for this !!! i told you , can i replace wait Instead sleep? i fear for The arbitrary action so before i want sure

                  1 Reply Last reply
                  0
                  • scalzS scalz

                    @Reza
                    @boozz has already answered you how to. You should try, that does not hurt, and you may be happy by the result. You don't want a sleeping repeater? better a waiting repeater!
                    That said i would not use the wait, it's possible to code this quicker. But it's a little bit more advanced.
                    I advice you to read some reference about Arduino etc... and try. always try or you don't learn anything!
                    An howto which could be useful for you, perhaps later, is the blink led without delay from Arduino Reference for instance. And lot of other things. That's not always easy to write code for others, can take time or not same config. and others don't learn then..

                    scalzS Offline
                    scalzS Offline
                    scalz
                    Hardware Contributor
                    wrote on last edited by scalz
                    #14

                    No fear to have! A sleep or wait won't burn your node.

                    I told you above:

                    @scalz said:

                    You don't want a sleeping repeater? better a waiting repeater!

                    what do you think ;) Does a repeater should sleep?? If so, how could he listens and repeat? So.. the repeater can't sleep! you would prefer to use wait, so it listens/wait and repeat.
                    I hope this is okay. If you have a problem then why not, but imho your issue is solved.

                    R 1 Reply Last reply
                    0
                    • scalzS scalz

                      No fear to have! A sleep or wait won't burn your node.

                      I told you above:

                      @scalz said:

                      You don't want a sleeping repeater? better a waiting repeater!

                      what do you think ;) Does a repeater should sleep?? If so, how could he listens and repeat? So.. the repeater can't sleep! you would prefer to use wait, so it listens/wait and repeat.
                      I hope this is okay. If you have a problem then why not, but imho your issue is solved.

                      R Offline
                      R Offline
                      Reza
                      wrote on last edited by
                      #15

                      @scalz
                      so i test with wait :) thank you my friend

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


                      21

                      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