jeffmer / micropython-ili9341

Micropython Driver for ILI9341 display

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Potential bug in lcd.py

JPFrancoia opened this issue · comments

Hi,

Great library, it works smoothly with my ESP32 and my TFT screen.

I noticed that the data variable is undefined on this line:

if data is None:
.

Maybe the function defintion should be:

def _readblock(self, x0, y0, x1, y1, data=None):

If that's the case and if this repo is not dead, I can make a PR.

Cheers! Thanks for your work

Done!

Merged, closing. Thanks!