diff --git a/libs/source/drawille.c b/libs/source/drawille.c index 75d2c7a..88d03d3 100644 --- a/libs/source/drawille.c +++ b/libs/source/drawille.c @@ -3,6 +3,14 @@ // 1110 xxxx : 10xx xxxx : 10xx xxxx - UTF-8 // 0x2800 - braille unicode offset // 0010 1000 : 0000 0000 + +const char bitmap[2][4] = { + {0x01, 0x08}, + {0x02, 0x10}, + {0x04, 0x20}, + {0x40, 0x80} +} + void draw(unsigned char uni) { //unicode to UTF-8 uart_sendData(0xE2); //First byte must be 0xE2 uart_sendData(0xA0 | ((uni>>6) & 0b00000011));