diff options
| author | TG-Techie <39284876+TG-Techie@users.noreply.github.com> | 2019-02-12 22:18:36 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-12 22:18:36 -0500 |
| commit | e901317fd7df3ab06d7e25e11431bc9c79c42e64 (patch) | |
| tree | e6014ab8e64d66da6ccf8c768eb0a483ceeec0fc /tools/tinytest-codegen.py | |
| parent | 66b0c67f54e76171b974a881776f9c3c2f30c5e7 (diff) | |
PYPORTAL: pindefs incorrect
@jerryneedell suggested the pins could be wrong when I told him I was getting reading that didn't change, having corrected the pinout to match the schematic I was given it now works!
used:
```
ts = adafruit_touchscreen.Touchscreen(board.TOUCH_XL, board.TOUCH_XR,
board.TOUCH_YD, board.TOUCH_YU,
calibration=((5200, 59000), (5800, 57000)),
size=(320, 240))
while True:
p = ts.touch_point
if p:
time.sleep(.5)
print(p)
```
Diffstat (limited to 'tools/tinytest-codegen.py')
0 files changed, 0 insertions, 0 deletions
