From 0c528ebcbc7719cb3dfb2cc26493e0a74dbea4bf Mon Sep 17 00:00:00 2001 From: AndyLindsay Date: Thu, 8 Apr 2021 10:26:47 -0700 Subject: [PATCH] #22 micro:bit V2 First command not received by Propeller Patch made immediately available. --- Release/cyberbot-micropython/cyberbot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Release/cyberbot-micropython/cyberbot.py b/Release/cyberbot-micropython/cyberbot.py index 511c2f0..d569273 100644 --- a/Release/cyberbot-micropython/cyberbot.py +++ b/Release/cyberbot-micropython/cyberbot.py @@ -1,4 +1,4 @@ -# microbit-module: cyberbot@0.8.0 +# microbit-module: cyberbot@0.9.2 from microbit import * while True: try:i2c.read(93,1) @@ -11,6 +11,7 @@ except OSError:pass else:break break +sleep(500) class bot(): def __init__(self,p=27,q=33): self.pA=p