back to FEHLCD
Description
This function is used to draw a circle with a specified center and radius. The cirlce will be the color set by the most recent use of LCD.SetFontColor().
Syntax
.DrawCircle( int x0, int y0, int r )
Parameters
x0: integer pixel position in x direction for center of circle (min 0, max 319)
y0: integer pixel position in y direction for center of circle (min 0, max 239)
r: integer number of pixels for radius of circle
Returns
None.
Examples
#include <FEHLCD.h> int main(void) { //Draw a circle in the middle of the screen LCD.SetFontColor(LIGHTGOLDENRODYELLOW); LCD.DrawCircle(160,120,20); }