Added custom fonts. Added triangle drawing function
Dependents: sc100016x4lcd REVO_Updated_Steering Driving_game Arkanoid_v1 ... more
Revision 3:366a6b7d6259, committed 2011-02-04
- Comitter:
- DimiterK
- Date:
- Fri Feb 04 02:32:25 2011 +0000
- Parent:
- 2:03d27b3fce6e
- Child:
- 4:bdc04bb2ffc1
- Commit message:
- Fixed a bug with the graphic display function
Changed in this revision
KS0108.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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); }