Skip to content

Add 0.42" Screen Compatibility #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 20, 2020
Merged

Conversation

TinyCircuits
Copy link
Contributor

@ladyada
Copy link
Member

ladyada commented Dec 30, 2019

this seems to break existing OLEDs by changing mapping - please test against existing supported ones

@TinyCircuits
Copy link
Contributor Author

Sorry! We minimized the changes from the original, changes should only apply to unsupported screens now.

@ladyada ladyada requested a review from a team December 30, 2019 22:50
@tannewt
Copy link
Member

tannewt commented Jan 2, 2020

Thanks for this! Let me know if you need help adding CircuitPython board defs for TinyCircuits boards!

I'd suggest adding a new keyword argument called colstart (this is the same name as the native display support) to the __init__ method instead of assuming a shift of 28 with a given width. It's really just an artifact of how the display manufacturer hooked the IC up to the display circuitry.

@TinyCircuits
Copy link
Contributor Author

Checking in to see if there is anything I can do to help the change get pulled in? Thanks!

@ladyada
Copy link
Member

ladyada commented Jan 20, 2020

looks good to me @makermelissa please retro-test the PR with a 128x32 and 128x64? i2c is fine, either it inits/displays or not :)

@ladyada ladyada requested a review from makermelissa January 20, 2020 20:11
Copy link
Collaborator

@makermelissa makermelissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both displays tested good.

@makermelissa makermelissa merged commit 6717b68 into adafruit:master Jan 20, 2020
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jan 21, 2020
Updating https://github.com/adafruit/Adafruit_CircuitPython_BluefruitSPI to 1.0.3 from 1.0.2:
  > update pylint examples directive
  > Merge pull request adafruit/Adafruit_CircuitPython_BluefruitSPI#12 from adafruit/dherrada-patch-1
  > Merge pull request adafruit/Adafruit_CircuitPython_BluefruitSPI#11 from adafruit/dherrada-patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_HT16K33 to 2.9.0 from 2.8.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_HT16K33#52 from makermelissa/matrix_scroll

Updating https://github.com/adafruit/Adafruit_CircuitPython_LPS35HW to 1.1.3 from 1.1.2:
  > update pylint examples directive
  > Merge pull request adafruit/Adafruit_CircuitPython_LPS35HW#2 from adafruit/dherrada-patch-1
  > Merge pull request adafruit/Adafruit_CircuitPython_LPS35HW#1 from adafruit/dherrada-patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_MAX31855 to 3.1.1 from 3.1.0:
  > update pylint examples directive
  > Merge pull request adafruit/Adafruit_CircuitPython_MAX31855#14 from adafruit/dherrada-patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_MAX31856 to 0.8.4 from 0.8.3:
  > update pylint examples directive
  > Merge pull request adafruit/Adafruit_CircuitPython_MAX31856#8 from adafruit/dherrada-patch-1
  > Merge pull request adafruit/Adafruit_CircuitPython_MAX31856#7 from adafruit/dherrada-patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_MAX31865 to 2.1.4 from 2.1.3:
  > update pylint examples directive
  > Merge pull request adafruit/Adafruit_CircuitPython_MAX31865#9 from CapableRobot/low_temp_fix
  > Merge pull request adafruit/Adafruit_CircuitPython_MAX31865#15 from adafruit/dherrada-patch-1
  > Merge pull request adafruit/Adafruit_CircuitPython_MAX31865#14 from adafruit/dherrada-patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_MPRLS to 1.1.2 from 1.1.1:
  > update pylint examples directive
  > Merge pull request adafruit/Adafruit_CircuitPython_MPRLS#9 from adafruit/dherrada-patch-1
  > Merge pull request adafruit/Adafruit_CircuitPython_MPRLS#8 from adafruit/dherrada-patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_NeoPixel_SPI to 0.3.2 from 0.3.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_NeoPixel_SPI#9 from caternuson/iss8

Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1306 to 2.7.3 from 2.7.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1306#39 from makermelissa/master
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1306#36 from TinyCircuits/master
  > update pylint examples directive
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1306#37 from adafruit/dherrada-patch-1
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1306#34 from adafruit/dherrada-patch-1
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1306#33 from theacodes/patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1322 to 1.0.1 from 1.0.0:
  > update pylint examples directive
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1322#5 from adafruit/dherrada-patch-1
  > disabling pypi deploy via actions
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1322#4 from adafruit/dherrada-patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1327 to 1.0.1 from 1.0.0:
  > update pylint examples directive
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1327#3 from adafruit/dherrada-patch-1
  > disabling pypi deploy via actions
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1327#2 from adafruit/dherrada-patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1331 to 1.1.2 from 1.1.1:
  > update pylint examples directive
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1331#7 from adafruit/dherrada-patch-1
  > disabling pypi deploy via actions
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1331#6 from adafruit/dherrada-patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1351 to 1.1.2 from 1.1.1:
  > update pylint examples directive
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1351#9 from adafruit/dherrada-patch-1
  > disabling pypi deploy via actions
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1351#8 from adafruit/dherrada-patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1608 to 1.1.1 from 1.1.0:
  > update pylint examples directive
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1608#4 from adafruit/dherrada-patch-1
  > disabling pypi deploy via actions

Updating https://github.com/adafruit/Adafruit_CircuitPython_ST7735 to 1.0.4 from 1.0.3:
  > update pylint examples directive
  > Merge pull request adafruit/Adafruit_CircuitPython_ST7735#8 from adafruit/dherrada-patch-1
  > Merge pull request adafruit/Adafruit_CircuitPython_ST7735#7 from adafruit/dherrada-patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_ST7735R to 1.2.2 from 1.2.1:
  > update pylint examples directive
  > Merge pull request adafruit/Adafruit_CircuitPython_ST7735R#14 from adafruit/dherrada-patch-1
  > Merge pull request adafruit/Adafruit_CircuitPython_ST7735R#13 from adafruit/dherrada-patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_ST7789 to 1.2.1 from 1.2.0:
  > update pylint examples directive
  > Merge pull request adafruit/Adafruit_CircuitPython_ST7789#14 from adafruit/dherrada-patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_VEML7700 to 1.0.2 from 1.0.1:
  > update pylint examples directive
  > Merge pull request adafruit/Adafruit_CircuitPython_VEML7700#9 from adafruit/dherrada-patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_WS2801 to 0.9.6 from 0.9.5:
  > update pylint examples directive
  > Merge pull request adafruit/Adafruit_CircuitPython_WS2801#11 from adafruit/dherrada-patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_Debouncer to 1.1.1 from 1.1.0:
  > update pylint examples directive
  > Merge pull request adafruit/Adafruit_CircuitPython_Debouncer#13 from adafruit/dherrada-patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_NTP to 1.0.2 from 1.0.1:
  > update pylint examples directive
  > Merge pull request adafruit/Adafruit_CircuitPython_NTP#6 from adafruit/dherrada-patch-1
  > Merge pull request adafruit/Adafruit_CircuitPython_NTP#7 from brentru/pypi-setup
  > disabling pypi deploy via actions
  > Merge pull request adafruit/Adafruit_CircuitPython_NTP#5 from brentru/fix-readme
  > Merge pull request adafruit/Adafruit_CircuitPython_NTP#4 from adafruit/dherrada-patch-1
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.

4 participants