Skip to content
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.

Added modifiable long delay for use in clear and home operations. #30

Closed
wants to merge 1 commit into from

Conversation

corvuscrypto
Copy link

Propagated change to other classes and switched to use a master long delay constant
This closes issue #28

Scope: This change moves the default delay value of 3000 us into a new constant declaration named DEFAULT_LONG_DELAY_US. This default constant is now used in the home() and clear() methods of the base Adafruit_CharLCD class. Furthermore, the base class and all subclasses allow adjustment of this value in the case that the delay value is too short by default for long operations.

Limitations: No limitations. This is only changing primitive declarations.

Examples/tests: Default examples satisfy normal initialization and this affects only a subset of users that have issues with the delay on long operations (clear() and home()) taking too little time for the device to properly clear or move the cursor.

Propagated change to other classes and switched to use a master long delay constant

Added forgotten constant declaration
@mrchass
Copy link

mrchass commented Aug 3, 2017

Increasing the delay finally solves my display hassle with crypty characters too. Useful feature, should be integrated! UPVOTE! ;-)

@corvuscrypto
Copy link
Author

It's been quite a while since there was no response from the owner. I don't think this project is maintained. There seems to be a conflict, but I'm not gonna bother resolving if the owner doesn't bother to check these. Would just be a waste of time.

@kattni
Copy link
Contributor

kattni commented Nov 21, 2018

Thank you for the PR! However, we're moving to a new library. Please see the response on #28 for details.

@kattni kattni closed this Nov 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants