Hi all,
Here is the code I have in python. I want to output text to my braille
display.
The good news is that I can connect to the server and get the version number
of the server and the size of the braille display.
However, I do not see the text being written to the display.
import brlapi
import errno
import Xlib.keysymdef.miscellany
import time
try:
b = brlapi.Connection()
print("Server version " +
str(b.getParameter(brlapi.PARAM_SERVER_VERSION, 0, brlapi.PARAMF_GLOBAL)))
print("Display size " +
str(b.getParameter(brlapi.PARAM_DISPLAY_SIZE, 0, brlapi.PARAMF_GLOBAL)))
b.writeText("hello")
time.sleep(20)
b.closeConnection()
except Exception as e:
print("error")
print(e)
Pranav
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.app/mailman/listinfo/brltty