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

Commit

Permalink
Fix the reset procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
deshipu committed Jul 7, 2017
1 parent 9d8e98a commit c84e0ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rgb.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ def __init__(self, spi, dc, cs=None, rst=None, width=1, height=1):
self.cs = DummyPin()
self.cs.init(self.cs.OUT, value=1)
self.dc.init(self.dc.OUT, value=0)
self.rst.init(self.rst.OUT, value=0)
self.rst.init(self.rst.OUT, value=1)
self.reset()
super().__init__(width, height)

def reset(self):
Expand Down

0 comments on commit c84e0ce

Please sign in to comment.