Skip to content

Commit d6dca06

Browse files
authored
Merge branch 'main' into feature/scrollframe
2 parents 9d5267c + f6a4d88 commit d6dca06

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/fluepdot/fluepdot.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,13 @@ def post_frame(self, frame: List[List[bool]], center: bool = False) -> Response:
150150
outStr = outStr + "".join(line) + "\n"
151151
return self._post(frameURL, post=outStr)
152152

153-
154153
def set_pixel(self, x: int = 0, y: int = 0) -> Response:
155154
y = self.height - 1 - y
156155
if self.flipped:
157156
x = self.width - 1 - x
158157
y = self.height - 1 - y
159158
return self._post(pixelURL, get={"x": x, "y": y})
160159

161-
162160
def unset_pixel(self, x: int = 0, y: int = 0) -> Response:
163161
y = self.height - 1 - y
164162
if self.flipped:

0 commit comments

Comments
 (0)