This is a *VERY* Rough library for translating binary representations of grade 1 braille into ASCII strings.
Diff: Braille_In.cpp
- Revision:
- 2:4cd96cdca95a
- Parent:
- 1:d79dbb617533
- Child:
- 3:36f07cfb3fe1
--- a/Braille_In.cpp Fri Oct 12 05:03:56 2012 +0000 +++ b/Braille_In.cpp Fri Oct 12 05:07:41 2012 +0000 @@ -145,12 +145,16 @@ NextCaps=false; } - if (input & 0x20) + if (input == 0x20) { NextCaps=true; out=' '; } + if (input== 0x0) + { + out=' '; + } return out; }