Library to control a QVGA TFT connected to SPI. You can use printf to print text The lib can handle different fonts, draw lines, circles, rect and bmp
Diff: SPI_TFT.h
- Revision:
- 4:e1e45f8a7664
- Parent:
- 3:5be1edd3a543
- Child:
- 5:2db1b8070d94
diff -r 5be1edd3a543 -r e1e45f8a7664 SPI_TFT.h --- a/SPI_TFT.h Wed Jul 13 08:53:24 2011 +0000 +++ b/SPI_TFT.h Thu Jul 14 20:13:07 2011 +0000 @@ -121,6 +121,19 @@ * */ void circle(int x, int y, int r, int colour); + + /** draw a filled circle + * + * @param x0,y0 center + * @param r radius + * @param color 16 bit color * + * + * use circle with different radius, + * can miss some pixel + */ + void fillcircle(int x, int y, int r, int colour); + + /** draw a 1 pixel line * @@ -230,7 +243,7 @@ /** Set the orientation of the screen * x,y: 0,0 is always top left * - * @param o direction to use the screen (0-3) 90° Steps + * @param o direction to use the screen (0-3) 90� Steps * */ void set_orientation(unsigned int o);