Skip to content

Conversation

@3mp3ri0r
Copy link
Contributor

Hope it help.

@tannewt
Copy link
Member

tannewt commented Oct 18, 2017

Hi @3mp3ri0r thank you for picking these up! Could you please remove the DHT commit because its already been added to the bundle. Thanks!

@tannewt tannewt self-requested a review October 18, 2017 16:21
@3mp3ri0r
Copy link
Contributor Author

Okay @tannewt. Did I already fix DHT commit problem?

@tannewt
Copy link
Member

tannewt commented Oct 19, 2017

Looks like its still in this pull request. There are instructions on removing one commit here: https://superuser.com/questions/35267/how-can-i-roll-back-1-commit and then you'll need to git push --force to update the copy on github.

@mrmcwethy
Copy link
Collaborator

@3mp3ri0r we would love to get the CharLCD library released to the Adafruit bundle. Can you take a few minutes and correct the pull request?

@tannewt
Copy link
Member

tannewt commented Nov 27, 2017

@mrmcwethy feel free to pick this up. Seems like @3mp3ri0r is busy.

@mrmcwethy mrmcwethy self-assigned this Nov 28, 2017
@mrmcwethy
Copy link
Collaborator

I tested the Adafruit_Circuitpython_CharLCD library on a 1602 LCD module and also took a close look at the library code. I noticed a few things:

  1. init.py forces both .py class files to be included. Should the init.py file import two class definitions when only one of them will be used at one time.
  2. the documented class signature for Character_LCD includes an optional backlight feature which is labeled TODO. At minimum the class documentation should be updated. I will test the feature.
  3. the monochrome and rgb classes have a lot of code in common but the approach was to copy/paste this common code. There must have been a good reason for this, my natural tendency would be to create a base case and derived classes. Any history here?

Thoughts on the above, anyone?

@ladyada
Copy link
Member

ladyada commented Nov 28, 2017

@tdicola did the most recent revision of the code - and will be able to answer these questions best! adding to thread :)

@mrmcwethy
Copy link
Collaborator

This pull request is now obsolete as a result of another one. I will close it now

@mrmcwethy mrmcwethy closed this Nov 30, 2017
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.

5 participants