21 void oledc_drawCircle(
int x0,
int y0,
int r,
unsigned int color)
29 while(oledc_screenLock());
30 oledc_screenLockSet();
32 oledc_drawPixelPrimative(x0 , y0 + r, color);
33 oledc_drawPixelPrimative(x0 , y0 - r, color);
34 oledc_drawPixelPrimative(x0 + r, y0 , color);
35 oledc_drawPixelPrimative(x0 - r, y0 , color);
48 oledc_drawPixelPrimative(x0 +
x, y0 + y, color);
49 oledc_drawPixelPrimative(x0 -
x, y0 + y, color);
50 oledc_drawPixelPrimative(x0 +
x, y0 - y, color);
51 oledc_drawPixelPrimative(x0 -
x, y0 - y, color);
52 oledc_drawPixelPrimative(x0 + y, y0 +
x, color);
53 oledc_drawPixelPrimative(x0 - y, y0 +
x, color);
54 oledc_drawPixelPrimative(x0 + y, y0 -
x, color);
55 oledc_drawPixelPrimative(x0 - y, y0 -
x, color);
58 oledc_screenLockClr();