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

    Wipy 2.0 PinOut, Alternate Functions

    Scheduled Pinned Locked Moved MicroPython
    12 Posts 4 Posters 3.0k 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.
    • J Offline
      joaquin
      last edited by

      Need for the Complete Wipy 2.0 Pinout

      1 Reply Last reply Reply Quote 0
      • R Offline
        Ralph
        last edited by

        Hi @joaquin ,

        We are working on this at the moment, it will be available soon. We'll post it on the forum as when it is.

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

          Thanks,
          uhashlib have only md5, sha256 will be added?
          But update in md5 does not update the disgest, coudl be corrected, please

          1 Reply Last reply Reply Quote 0
          • R Offline
            Ralph
            last edited by

            Yes, the sha256 will be added in a future release.

            Can you provide an example of how you are using the md5 in this case? Note that in the docs for uhashlib, it states that after you call .digest(), no more data can be fed into the hash.

            If this doesn't solve it, please make a new post for this issue, so other people with the same issue can find it on the forum.

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              joaquin @Ralph
              last edited by

              @Ralph
              This is way used, made the same on Linux with 3.5 and works fine:
              Res1=md5(var1)
              Res1.update (var2)
              Res1.digest ()
              Is Correct?

              Another question is about RTC, not found, is it Ready?

              1 Reply Last reply Reply Quote 0
              • R Offline
                Ralph
                last edited by

                @joaquin It's a bit off topic, but yes that should work. You do need to use hexlify to convert it though. For completeness, this is my test script that worked:

                import uhashlib
                import binascii
                res1 = uhashlib.md5("foo")
                res1.update("bar")
                binascii.hexlify(res1.digest())
                >> b'3858f62230ac3c915f300c664312c63f'
                

                RTC is not ready yet, but it will probable be there in the next release

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

                  Ralph,
                  Good thanks.

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    livius
                    last edited by

                    this one is not good?
                    0_1478245153715_upload-e9ec1030-9dad-4835-8146-f755a625a5e7

                    think about people first, then computers

                    L 1 Reply Last reply Reply Quote 0
                    • L Offline
                      littlebat @livius
                      last edited by

                      @livius said in Wipy 2.0 PinOut, Alternate Functions:

                      this one is not good?

                      That is for wipy 1.0 not wipy 2.0

                      1 Reply Last reply Reply Quote 0
                      • L Offline
                        livius
                        last edited by

                        And it was changed totally? Or some minor changes?
                        I suppose only some minor changes..

                        think about people first, then computers

                        L 1 Reply Last reply Reply Quote 0
                        • L Offline
                          littlebat @livius
                          last edited by

                          @livius said in Wipy 2.0 PinOut, Alternate Functions:

                          And it was changed totally? Or some minor changes?
                          I suppose only some minor changes..

                          Wipy 2.0 uses completely different chip than wipy 1.0 so yes totally new.

                          1 Reply Last reply Reply Quote 1
                          • L Offline
                            livius
                            last edited by

                            I didn't know that chip was changed. Thank you for the info.

                            think about people first, then computers

                            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