Skip to content

functions : setArea

max mc costa edited this page Jun 5, 2016 · 1 revision

setArea(x0,y0,x1,y1);//seta a working area of the screen


parameters:
setArea instruct ILI chip to perform display writings in a limited area of the screen. This is a rarely used command since almost any primitive use it automatically but can be useful in situation where you need to fill a limited area with a stream of pixels (reading from a SD for example)
The complete setArea function is: setArea(x0,y0,x1,y1);
where:

  • x0: area start, X axis
  • y0: area start, Y axis
  • x1: area end, X axis
  • y1: area end, Y axis