final commit

This commit is contained in:
2025-10-12 13:01:00 +02:00
parent 7a7403e964
commit 746a602dcb

View File

@@ -18,7 +18,7 @@ if __name__ == '__main__':
# Connect to the BambuLab 3D printer
printer.connect()
time.sleep(2)
time.sleep(5)
# Get the printer status
status = printer.get_state()
@@ -26,7 +26,7 @@ if __name__ == '__main__':
rem_time = printer.get_time()
print(f'Remaining time {rem_time}')
percent = printer.get_percentage()
print(f'Remaining time {rem_time}')
print(f'Percentage : {percent}')
# Disconnect from the Bambulabs 3D printer
printer.disconnect()