Commit 44f99d08 authored by Tejasri's avatar Tejasri 🎯
Browse files

Merge branch 'ShrishailyaAgashe_BITS-master-patch-70664' into 'master'

Made some changes that I forgot to do last time

See merge request !11
parents d2699bf8 9e6f2b53
......@@ -17,9 +17,10 @@ myArduino = serial.Serial(port = comport, baudrate = 115200, timeout=1)
while True:
try:
incoming_stream = myArduino.readline()
#incoming_stream = incoming_stream.decode('utf-8')
incoming_stream = incoming_stream.decode('utf-8')
incoming_stream = incoming_stream.strip()
print(incoming_stream)
JSONObj = json.loads(incoming_stream)
print(JSONDict)
except:
print("keyboard Interrupt")
break
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment