omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    help with PunchThrough Bean Arduino integration

    Pythonista
    3
    3
    2462
    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.
    • dmkanter
      dmkanter last edited by

      I'm trying to call the cu module to scan for my light blue bean to grab temp data from it. Curious if anyone had any luck seeing it?

      Thanks,
      David

      1 Reply Last reply Reply Quote 0
      • wradcliffe
        wradcliffe last edited by

        I had no trouble using the sample code to talk to my Light Blue Bean. I had major issues when I tried to extend the script to talk to more then one Bean and do anything that generated a lot of events close together. If you look at the sample script it maintains a reference to a single peripheral so how you extend this to support multiple peripherals is not obvious. There also seemed to be some tricky multithreading issues going on. I verified that the callbacks seem to be fired off on a pool of threads and it was easy to write code that was not safe under these conditions. In any case, I had good luck at least talking to the Bean and reading and writing to parameters.

        There are others in the forum that have done some complex coding with single devices that may be able help you but I have not seen anyone else using LBB's. I have not played with it for many months.

        Sorry I can not be of more help.

        1 Reply Last reply Reply Quote 0
        • ccc
          ccc last edited by

          @wradcliffe perhaps the code for a minimal hello_bean.py example would help.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors