53 static unsigned char buf[ (( x_size * y_size ) + 7 ) / 8 ];
55 static void send_byte(
unsigned char d ){
56 for(
int i = 0; i < 8; i++ ){
66 static void data(
unsigned char d ){
73 static void pixels(
unsigned char x,
unsigned char y,
unsigned char d ){
97 bmptk::graphics::
frame( bmptk::graphics::vector( x_size, y_size ))
122 unsigned int a = p.
x_get() + ( p.
y_get() / 8 ) * 84;
123 unsigned int m = 1 << ( p.
y_get() % 8 );
140 for(
int i = 0; i < 504; i++ ){
157 >
unsigned char pcd8544 <
158 sce, res, dc, sdin, sclk, x_size, y_size
159 >::buf[ (( x_size * y_size ) + 7 ) / 8 ];
170 void command(
unsigned char d ){
195 void command(
unsigned char d ){
209 command( 0x40 | (64 - 3 ) );