O'Reilly logo

Mastering Arduino by Jon Hoffman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Filled shape

display.fillCircle(display.width()/2, display.height()/2, 6, BLACK);

The circle functions take four parameters. The first two parameters are the X/Y coordinates for the center of the circle. In these two examples, the center of the circle is the center of the screen. The third parameter is the radius of the circle, and the last parameter is the color for the circle and also the color to fill the circle in the case of the fillCircle() function.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required