repaper / gratis

EPD Source codes and Documentation
238 stars 132 forks source link

Rotating Screen #21

Closed danielbk18 closed 9 years ago

danielbk18 commented 9 years ago

Hi, I'm trying to use the screen rotated, is there a way to update the columns serially instead of lines? The way described of sending the line and then the scan bytes, is it the only way to update the screen? For example, I would like to send just one byte in a specific column and line to make a faster partial update, without sending 'nothing' bytes to the rest of the screen.

CharmingSu commented 9 years ago

Hi, The line data and scan bytes order are fixed due to the driver buffer and traces of TFT. If you want to rotate the content, you have to convert the source image to the orientation beforehand. Your another request is the Partial Update driving. See my comments at #19. You still need to send 'Nothing' bytes to the unchanged pixels, otherwise the rest of area will turn to gray after several updates.

By FAE - Charming Su of Pervasive Displays