Sleep in python example?

Hi there, I'm curious about the python stream_data example, there's two sleep calls:

Why do we need to sleep for a second after connecting and disconnecting? What does that do or help with? Does the device need that time to do something?



  • edited December 2018

    Odd, neither belong there in that script. We will refactor said script.

  • @zoo,
    It is not needed. Keep in mind these scripts are for learning purposes only.

Sign In or Register to comment.