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

    What classes have been implemented and where is the documentation?

    Scheduled Pinned Locked Moved LoPy
    8 Posts 5 Posters 2.5k Views 4 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.
    • R Offline
      robotmad
      last edited by

      I've tried to run things that were already working on WiPy but have failed at the first hurdle. e.g. the machine library contains Pin class but doesn't appear to contain the Timer class. I guess I was expecting this to be like a WiPy (for which there is reference documentation on micropython.org) with extras, but if this is not the case then where should we look to find out what is implemented and hence how to use it?

      Detail:

      from machine import Pin
      from machine import Timer
      Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      ImportError: cannot import name Timer

      1 Reply Last reply Reply Quote 0
      • J Offline
        jgmdavies
        last edited by

        and no ADC class in machine? ;---(

        1 Reply Last reply Reply Quote 1
        • P Offline
          patrick
          last edited by

          Please have a look at the firmware roadmap published on kickstarter:

          https://www.kickstarter.com/projects/1795343078/lopy-the-lora-wifi-and-bluetooth-iot-development-p/posts/1709739

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            jgmdavies @patrick
            last edited by

            @patrick Thanks Patrick - does that apply to the WiPy 2.0 as well then?

            Jim

            P L 2 Replies Last reply Reply Quote 0
            • P Offline
              patrick @jgmdavies
              last edited by

              @jgmdavies Sorry, that I do not know for sure.

              1 Reply Last reply Reply Quote 0
              • L Offline
                LoneTech @jgmdavies
                last edited by

                @jgmdavies Most likely most of it does; the main difference between the WiPy 2 and the LoPy is the presence of the LoRa module. Thus anything not related to that will probably be the same.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jgmdavies
                  last edited by

                  @robotmad

                  Thanks. I'm having to do a fair bit of guesswork, as there are more statements about the LoPy than the poor 'old' WiPy 2.0 (so far)!

                  Jim

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bartvrancken
                    last edited by

                    This is really starting to get ridiculous with PyCom ... deploying a much awaiting firmware update with ABP and then not providing any kind of documentation updates

                    To help my fellow coders out, i figured out some items:

                    lora = LoRa(mode=LoRa.LORAWAN, sf=7, tx_power=14)
                    lora.BW_125KHZ
                    lora.CODING_4_5

                    Now what the ABP auth tuple should be i haven't figured out. But note again that PyCom did not even fix the TTN OTAA issues

                    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 / 1
                    • First post
                      Last post

                    Pycom on Twitter

                    Pycom