diff --git a/play zone/writeBrl.py b/play zone/writeBrl.py index 96873df3..304e20fa 100755 --- a/play zone/writeBrl.py +++ b/play zone/writeBrl.py @@ -1,13 +1,17 @@ #!/bin/python import brlapi +import time brl = brlapi.Connection() print(brl.displaySize) print(brl.driverName) -try: - brl.writeText('test') -except Exception as e: - print(e) + +t = time.time() +while(time.time() - t <= 5): + try: + brl.writeText('this is a 5 second test') + except Exception as e: + print(e)