lcdwiki / LCDWIKI_SPI

driver for SPI-Bus TFT Displays
MIT License
19 stars 17 forks source link

Set_Rotation in SSD1283A display #3

Open vailatis opened 5 years ago

vailatis commented 5 years ago

Hi, i own an SSD1283A 130x130 LCD display, everything work with your library except the Set_Rotation function. If i set Rotation to 0 or 1, display show 0 and 90 degree rotated, but setting 2 or 3 (180 and 270 degree rotation), repeat the setting for 0 and 90 degree, instead of 180 and 270. So setting 0 or 2, give out the dame 0 degree rotation, and setting 1 or 3, give out 90 degree rotation. By looking at your code for rotation on SSD1283A, i see the code manage the dame way 0 and 2, and 1 and 3, so seems there is no code for rotate display 180 and 270 degree but only for 0 and 90. Can this be fixed?