Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new examples #17

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

KAbhijeet2105
Copy link

@KAbhijeet2105 KAbhijeet2105 commented Mar 29, 2020

  • TFTUserText: This example code takes input username from serial and prints to the screen.

  • TFTLine: This example code takes input x1,y1(Initial co-ordinates to draw the line) and x2,y2(end co-ordinates to draw the line) from serial and prints the line to the screen. (by using line function)

  • TFTPointLine: This example code takes input x1,y1(Initial co-ordinates to draw the line) and x2,y2(end co-ordinates to draw the line) from serial and prints the line to the screen
    by using Brenham's line drawing algorithm. (by using point function)

  • TFTRect: This example code takes input length and width from serial and prints the rectangle to the screen.

  • TFTCircle: This example code takes input radius from serial and prints the circle to the screen.

  • TFTStorageRead: This example shows how to read data from an SD card file and prints it to the screen.

  • Enhancement: added a new feature to draw an arc.

  • Added new example TFTArc: This example code takes input x,y(center co-ordinates of arc ),r(radius), start angle, end angle from serial and prints the arc to the screen.

  • TFTRainbow: This example prints a rainbow to the screen.

@KAbhijeet2105
Copy link
Author

@per1234 Please review this PR and please give your feedback.
Thank you

Copy link

@Inv3nt0r1 Inv3nt0r1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello,
Some recommendations from my side that might help to make this better.

Regards,
Durgesh

examples/Arduino/TFTArc/TFTArc.ino Outdated Show resolved Hide resolved
examples/Arduino/TFTArc/TFTArc.ino Outdated Show resolved Hide resolved
examples/Arduino/TFTArc/TFTArc.ino Outdated Show resolved Hide resolved
examples/Arduino/TFTArc/TFTArc.ino Outdated Show resolved Hide resolved
examples/Arduino/TFTArc/TFTArc.ino Outdated Show resolved Hide resolved
examples/Arduino/TFTTriangle/TFTTriangle.ino Outdated Show resolved Hide resolved
examples/Arduino/TFTTriangle/TFTTriangle.ino Outdated Show resolved Hide resolved
examples/Arduino/TFTTriangle/TFTTriangle.ino Outdated Show resolved Hide resolved
examples/Arduino/TFTTriangle/TFTTriangle.ino Outdated Show resolved Hide resolved
examples/Arduino/TFTUserText/TFTUserText.ino Outdated Show resolved Hide resolved
@KAbhijeet2105
Copy link
Author

Thank you so much for your suggestions.
Requested changes have been done.

@CLAassistant
Copy link

CLAassistant commented Apr 9, 2021

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants