How to Draw Various Shapes

How to Draw Various Shapes - • r0 = radius of circle •...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
How to Draw Various Shapes. .. Draw a circle on the LCD by calling: void lcd_circle(int x0, int y0, int r0, int pen); where x0, y0 = coordinates of the center of the circle
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: • r0 = radius of circle • pen = pen value (0 = erase, 1 = single line) Example: lcd_circle(pot1>>2, 40, 20, 1); // draw circle of radius 20 // at pot1>>2, 40...
View Full Document

This document was uploaded on 02/08/2012.

Ask a homework question - tutors are online