Skip to content

Commit 7570f0c

Browse files
author
funnygeeker
committed
增加back_light函数
1 parent d6c8c48 commit 7570f0c

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

drivers/sh1106_buf.mpy

10 Bytes
Binary file not shown.

drivers/sh1106_buf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def __init__(self, width, height, external_vcc, rotate=0):
4141
# flip() was called rotate() once, provide backwards compatibility.
4242
self.rotate = self.flip
4343
self.init_display()
44+
self.back_light(255)
4445

4546
def init_display(self):
4647
self.reset()

0 commit comments

Comments
 (0)