mirror of
https://github.com/avem-labs/Avem.git
synced 2023-09-01 15:18:49 +08:00
feat:(drawille) First Blood
This commit is contained in:
parent
9e3ffe0b89
commit
d8541a6f63
16
libs/include/drawille.h
Normal file
16
libs/include/drawille.h
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#ifndef DRAWILLE_H
|
||||||
|
#define DRAWILLE_H
|
||||||
|
|
||||||
|
#include "uart.h"
|
||||||
|
|
||||||
|
// ---
|
||||||
|
// |0 3|
|
||||||
|
// |1 4|
|
||||||
|
// |2 5|
|
||||||
|
// |6 7|
|
||||||
|
// ---
|
||||||
|
#define BRAILLE_OFFSET 0x2800
|
||||||
|
#define PIXEL(x) 1<<(x)
|
||||||
|
#define DRAW(bit) BRAILLE_OFFSET + (bit)
|
||||||
|
|
||||||
|
#endif
|
1
libs/source/drawille.c
Normal file
1
libs/source/drawille.c
Normal file
@ -0,0 +1 @@
|
|||||||
|
// Needn't this file yet
|
Loading…
x
Reference in New Issue
Block a user