Closed gale3313 closed 8 years ago
I believe drawPixel should be revised.
This line: setAddrWindow(x,y,x+1,y+1);
should be: setAddrWindow(x,y,x,y);
Otherwise, it seems to be impossible to draw pixels (or lines) on row or column 319 or 479.
For more information, see https://forums.adafruit.com/viewtopic.php?f=22&t=92900
you're right! i've fixed and also added SPI xactions which will make it more cross-platform. thank you :) :) :)
I believe drawPixel should be revised.
This line: setAddrWindow(x,y,x+1,y+1);
should be: setAddrWindow(x,y,x,y);
Otherwise, it seems to be impossible to draw pixels (or lines) on row or column 319 or 479.
For more information, see https://forums.adafruit.com/viewtopic.php?f=22&t=92900