Skip to content

dont forget set frequency (as we dont use busdevice) #27

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 1 commit into from
Sep 28, 2019

Conversation

ladyada
Copy link
Member

@ladyada ladyada commented Sep 28, 2019

this came up with the ft232h cause we need to give it some default

@ladyada ladyada requested a review from a team September 28, 2019 03:27
Copy link
Collaborator

@sommersoft sommersoft left a comment

Choose a reason for hiding this comment

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

On behalf of EPD users, thanks for the fix @ladyada!

@sommersoft sommersoft merged commit 6da61f7 into adafruit:master Sep 28, 2019
@ladyada
Copy link
Member Author

ladyada commented Sep 28, 2019

lol

@@ -71,6 +71,11 @@ def __init__(self, width, height, spi, cs_pin, dc_pin, sramcs_pin, rst_pin, busy

# SPI interface (required)
self.spi_device = spi
while not self.spi_device.try_lock():
pass
self.spi_device.configure(baudrate=1000000) # 1 Mhz
Copy link

@dcbriccetti dcbriccetti Sep 28, 2019

Choose a reason for hiding this comment

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

On the small chance you don’t know about the feature (and in spite of the fact that this is already merged), I’ll mention that 1_000_000 is easier to read than 1000000.

adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Oct 20, 2019
Updating https://github.com/adafruit/Adafruit_CircuitPython_BNO055 to 4.0.0 from 3.1.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_BNO055#38 from dherrada/master

Updating https://github.com/adafruit/Adafruit_CircuitPython_EPD to 2.4.2 from 2.4.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_EPD#31 from makermelissa/master
  > Merge pull request adafruit/Adafruit_CircuitPython_EPD#28 from ladyada/master
  > Merge pull request adafruit/Adafruit_CircuitPython_EPD#27 from ladyada/master
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