/New_Adafruit-GFX-Library-Example-and-Resistive-Touch-Screen-Controller

Ejemplo de funciones gráficas con Adafruit GFX Library, Arduino Mega, Adafruit HXD8357D TFT 320x480 8 bit mode y Adafruit STMPE610 Resistive Touch Screen Controller

Primary LanguageProcessingGNU General Public License v3.0GPL-3.0

Adafruit GFX Library Example and Resistive Touch Screen Controller

Datasheets

Tutoriales

Adafruit GFX Library, Grafics Functions Example

Youtube

  • drawPixel, Drawing pixels
  • drawChar, Draw characters
  • drawCircle, Draw a contour line
  • fillCircle, Draw a circle with fill color
  • drawCircleHelper, Draw the outline of a circle into sections
  • fillCircleHelper, Draw a circle in corner sections name of 1-3, and stretches on and on and reduces delta X 0 x
  • setCursor, Cursor position
  • drawLine, draw a line
  • drawFastVLine, Draw a quick line only with x, y, meaning and color on X or Y
  • fillScreen, wallpaper
  • readID, Returns the ID of the screen
  • setRotation, sets the rotation of the screen, 0 = 0 * 1 = 90, 2 = 180 * 3 = 270*
  • getRotation, returns the value of the current screen rotation
  • width, screen size
  • height, screen size
  • drawRect, Draw a rectangle
  • drawRoundRect, Draw a rounded rectangle
  • fillRoundRect, Draw a rounded rectangle filling
  • fillRect, Draw a rectangle with color fill
  • setTextWrap, Set the text to the screen size
  • setTextColor, Background color text
  • setTextSize, text size
  • drawTriangle, Draw a triangle
  • fillTriangle, Draw a filled triangle

Simple Touch Screen Example

Image

Touch Screen Rotation

Image

Autores

Licencia