Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    [SOLVED] LoPy LoRa general consumption/effiency (code and scope printscreen)

    Scheduled Pinned Locked Moved LoPy
    lora antennaloralopy
    22 Posts 6 Posters 6.3k Views 7 Watching
    Loading More Posts
    • 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.
    • B Offline
      braulio
      last edited by

      Please Help me in this code.
      import time
      chrono = Timer.Chrono()
      ...
      chrono.start()
      time.sleep(5)
      chrono.stop()
      ....
      print(chrono.read())
      I measure 5023 seconds. How can I make accurate measurements?. It should be 5 seconds

      IplookyI 1 Reply Last reply Reply Quote 0
      • IplookyI Offline
        Iplooky @braulio
        last edited by

        Hello @braulio.
        I think the extra milliseconds are from Lopy info processing, you can try with a different number (10 seconds, 20, 30 etc) and the "extra" time is the same then you have a solution. Also you hsould try to make a new post, the topic is quite different from this one.

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1
        • 2
        • 2 / 2
        • First post
          Last post

        Pycom on Twitter

        Pycom