Skip to content

Conversation

terryjmyers
Copy link
Contributor

@terryjmyers terryjmyers commented Apr 9, 2017

Reduced delay times from 250ms and 20ms to 1ms. This was done in accordance with the datasheet. The data sheet specifies only a minimum of 1 ms for the second delay. I've implemented this code in 3 projects with no negative affects

Reduced delay times from 250ms and 20ms to 1ms.  This was done in accordance with the datasheet.  E.G. no where does it say you need to wait 250ms or 20ms.  It does say to set the line high for a minimum of 1ms (the second delay).  This has been tested and is working in my of my projects
@schreter
Copy link

I was also surprised by the extremely high delay there blocking interactive parts of my project (TFT touch loop). However, maybe having delays at lowest limit is also not that good - but factor 2 (i.e., 2ms) should be IMHO sufficient, then the entire reading is done in 5ms, which is acceptable.

Is there a way to vote for PRs to be merged? If so, you have +1 from me (after updating the delay).

@PaintYourDragon PaintYourDragon merged commit 73409c1 into adafruit:master Jan 12, 2019
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.

3 participants