Skip to content

Conversation

iraytrace
Copy link

In an application it is nice to know if the display is on or off. This is especially true in situations where the display is turned off after an idle period. This change implements a "power" property which indicates whether the display is currently powered on.

self.dc_pin.value = 1
with self.spi_device as spi:
spi.write(self.buffer)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hi, Looks like the build is failing because of this extra line on the end.

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.

Looks good. Thanks for adding this.

@makermelissa makermelissa merged commit c997737 into adafruit:master Sep 26, 2019
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Sep 27, 2019
Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1306 to 2.7.0 from 2.6.6:
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1306#26 from iraytrace/master
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1306#32 from makermelissa/master

Updating https://github.com/adafruit/Adafruit_CircuitPython_ST7789 to 1.1.3 from 1.1.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_ST7789#8 from makermelissa/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.

2 participants