Skip to content

Commit

Permalink
description of new TouchScreen_Calibr_native sketch
Browse files Browse the repository at this point in the history
  • Loading branch information
prenticedavid committed Sep 20, 2017
1 parent 44dbd6a commit 51d4c8e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions extras/mcufriend_how_to.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,9 @@ You can save Flash memory on a Uno by commenting out the macro(s) in MCUFRIEND_k
It also runs on NUCLEO-F103 and TEENSY3.2 with Sparkfun Adapter

12. These Mcufriend-style shields tend to have a resistive TouchScreen on A1, 7, A2, 6 but are not always the same rotation of direction.
Run the diagnose_Touchpins.ino sketch to detect which pins are used
Run the TouchScreen_Calibr_kbv.ino sketch to diagnose your model and then scale the result from TouchScreen.h methods()
The Resistive TouchScreen does not work on the Due. It seems to be upset by sharing pins. I have discovered why.
(You need a new Touch library.)
The TouchScreen_Calibr_native.ino sketch wiil diagnose Touch Pins, do Calibration, report to Serial Terminal.
The Calibration should work with the TouchScreen.h library from Adafruit.
You can always copy the local TouchScreen_kbv.h library from sketch to the global user libraries folder.

13. The graphictest_kbv.ino sketch runs the standard Adafruit tests and reports the execution time.
The Scroll tests show each screen rotation, colours, scroll directions, colour inversion.
Expand Down

0 comments on commit 51d4c8e

Please sign in to comment.