Fork of Dimiter program. "Wait" commands adjusted and added Arial 10 font.
Fork of KS0108 by
Diff: KS0108.cpp
- Revision:
- 3:366a6b7d6259
- Parent:
- 2:03d27b3fce6e
- Child:
- 4:bdc04bb2ffc1
diff -r 03d27b3fce6e -r 366a6b7d6259 KS0108.cpp --- a/KS0108.cpp Fri Jan 28 01:08:45 2011 +0000 +++ b/KS0108.cpp Fri Feb 04 02:32:25 2011 +0000 @@ -573,7 +573,7 @@ pixelByte = image->imgarray[i*imgSize+j]; for(bit_idx=0;bit_idx<8;bit_idx++){ if(pixelByte&(0x80>>bit_idx)) - SetPixel(x+bit_idx+8*j, y+i, color) + SetPixel(x+bit_idx+8*j, y+i, color); else SetPixel(x+bit_idx+8*j, y+i, !color); }