Richard Kuo
/
NTOUEE-mbed-I2C_LCD_movingcircle
mbed I2C to LCD for drawing a moving circle
draw2D.h
- Committer:
- rkuo2000
- Date:
- 2016-10-20
- Revision:
- 0:5e40d147a8e1
File content as of revision 0:5e40d147a8e1:
class Draw2D { public: void drawLine(int x1, int y1, int x2, int y2, int fgColor, int bgColor); void drawCircle(int xc, int yc, int r, int fgColor, int bgColor); void drawRectangle(int x0, int y0, int x1, int y1, int fgColor, int bgColor); void drawTriangle(int x0, int y0, int x1, int y1, int x2, int y2, int fgColor, int bgColor); };