try to enter tty mode
This commit is contained in:
parent
9b6c732678
commit
a809eda860
@ -4,13 +4,14 @@ import brlapi
|
||||
import time
|
||||
|
||||
brl = brlapi.Connection()
|
||||
print(brl.displaySize)
|
||||
print(brl.driverName)
|
||||
brl.enterTtyMode()
|
||||
print('display size' + str(brl.displaySize))
|
||||
print('driver name'+str(brl.driverName))
|
||||
|
||||
t = time.time()
|
||||
while(time.time() - t <= 5):
|
||||
try:
|
||||
brl.writeText('this is a 5 second test')
|
||||
brl.writeText(0,'this is a 5 second test')
|
||||
except Exception as e:
|
||||
print(e)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user