micropython-waveshare-epaper icon indicating copy to clipboard operation
micropython-waveshare-epaper copied to clipboard

1.54" B&W Issues

Open treyus30 opened this issue 9 months ago • 0 comments

Has the 1.54" 200x200 (A) been tested fully? I cannot get the display to change at all, have triple checked wiring, even probed to confirm expected voltage swings on the various pins. Busy included - I get a response from the EDP. Nothing ever changes though, even just trying to blank out the display with 0xFF.

The largest red flag I get (that I don't fully understand is an error in line 145 of "epaper1in54.py": TypeError: Could not convert byte to int

def clear_frame_memory(self, color):
    self.set_memory_area(0, 0, self.width - 1, self.height - 1)
    self.set_memory_pointer(0, 0)
    self._command(WRITE_RAM)
    # send the color data
    for i in range(0, self.width // 8 * self.height):
        self._data(bytearray([color]))

(Last line above).

I solved this by changing the format of the input from b'\xFF' to 0xFF, but I don't know enough about Python to know if this is a problem.

treyus30 avatar Feb 02 '25 00:02 treyus30