adafruit / Adafruit_Learning_System_Guides

Programs and scripts to display "inline" in Adafruit Learning System guides

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyPortal_ArduinoSelfTest.ino issue on PyPortal Titano

kattni opened this issue · comments

The ArduinoSelfTest for the PyPortal was obviously written for the standard PyPortal, and not for the PyPortal Titano. The code is included in the Titano guide as-is, but there are a couple of things not quite right about it on Titano.

The obvious first thing is that it doesn't fill the entire display - it fills only the portion that would represent a standard PyPortal display (as seen in the image below). However, that alone would not warrant filing a GitHub issue.

The thing that warranted filing this issue is that the "Sound" button doesn't work properly on Titano. The button appears where it would on a standard PyPortal (towards the bottom of the PyPortal display), but, on Titano, the touch activation location for it is further down as though the button was properly placed at the bottom of the Titano display. So in the image below - the button appears where the button is on the display, but my finger is located where the button touch activation is located. I'm guessing the code uses relative location for the button touch point, but has something hard coded for everything its displaying.

titano