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