Skip to content
Snippets Groups Projects
Commit 7a5374c2 authored by Jeyan Kanagaratnam's avatar Jeyan Kanagaratnam
Browse files

Replace main.py

parent e6478eef
No related branches found
No related tags found
No related merge requests found
......@@ -206,6 +206,15 @@ def main():
result = f.read().strip()
print("Object detected:", result)
class TempProduct:
def __init__(self,name):
self.id = str(uuid.uuid4())
self.recycling_type = 0
self.reward_value = 10
product = TempProduct(result)
i2c.buzz()
else:
i2c.buzz()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment