Skip to content

Issues with TFT library Constructor reference page #8

@per1234

Description

@per1234

https://www.arduino.cc/en/Reference/TFTConstructor

Change:

Use this to create an named

to:

Use this to create a named


Change

dc : int, pin used for

to:

dc : int, pin used for data/command select


Change:

  // draw a rectangle in the center of screen
  screen.line(screen.width()/2-5, screen.height()/2-5, 10, 10);

to:

  // draw a rectangle in the center of screen
  screen.rect(screen.width()/2-5, screen.height()/2-5, 10, 10);

Reference the example code in https://www.arduino.cc/en/Reference/TFTRect

Originally reported at http://forum.arduino.cc/index.php?topic=494624

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions