![]() Would be grateful, if anyone could help me further. I got the values for a and b, from calculations of step 7 of the guide.įor any questions, here is my code: #define Yin A0įloat correctX(int measuredX, int measuredY) įloat correctY(int measuredX, int measuredY) ĭelay(5) // Pause to allow lines to power upĭelay(5) // Pause to allow lines to power downįloat correctX(int measuredX, int measuredY)įloat correctY(int measuredX, int measuredY) So my main problem is, that I can't calibrate my 4-wires-Touchscreen correctly. Contribute Jeroi Update README. Only a little, but the difference is growing by distance. GitHub - Jeroi/Touch-Screen-Library: Arduino library for 4-wire resistive touchscreens Jeroi / Touch-Screen-Library Public forked from adafruit/AdafruitTouchScreen master 2 branches 0 tags Go to file Code This branch is 6 commits ahead, 52 commits behind adafruit:master. While I'm going along the X-axis, the coordinates of the Y-axis are also changing. īut the coordinates I'm getting from the output of my touchscreen arent't exactly enough. I connected my 4-wires-Touchscreen with an Arduino Mega2560. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |