From fd4a6cdcbe4dd952fe2d90cce23ed79b9078e774 Mon Sep 17 00:00:00 2001 From: chrys Date: Sat, 8 Oct 2016 02:08:01 +0200 Subject: [PATCH] add simple braille demo --- play zone/writeBrl.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 play zone/writeBrl.py diff --git a/play zone/writeBrl.py b/play zone/writeBrl.py new file mode 100644 index 00000000..3d8802a3 --- /dev/null +++ b/play zone/writeBrl.py @@ -0,0 +1,13 @@ +#!/bin/python + +import brlapi + +brl = = brlapi.Connection() +print(brl.displaySize) +print(brl.driverName) +try: + brl.writeText('test') +except Exception as e: + print(e) + +