Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • You need to post the Python while loop to get a more specific answer. But I'll bet you just aren't sending enough 0s between 1s, for you to notice the LED going off. You did say the while loop is fast. Perhaps you should try slowing it down with time.sleep(1) and see if anything changes. Commented Sep 24, 2016 at 23:48
  • @TisteAndii .. Thanks... I cant slow down while loop..I have checkered,0 is sent by while loop. That's OK. Commented Sep 25, 2016 at 3:43
  • please post the Python while loop. Is the Arduino code working with IDE console ? Commented Sep 25, 2016 at 8:53
  • Its huge code with some image processing code...I have update my post..plz see it.. Commented Sep 25, 2016 at 8:56
  • 1
    I understand the serialWrite() avoids sending twice same data. Then add the print after prt.write if the 1 and 0 are wery fast you will not have time to see anything blink. If you do not describe the expected and observed behaviour I cannot help you Commented Sep 25, 2016 at 9:22