NeoCat / ESP32-P3RGB64x32MatrixPanel

ESP32 Arduino library for the P3 64x32 RGB matrix panels
MIT License
136 stars 30 forks source link

Rotate the Matrix Display #21

Closed Robiv8 closed 4 years ago

Robiv8 commented 4 years ago

Hallo, is there a way to rotate the display to 180° THX

NeoCat commented 4 years ago

How about changing https://github.com/NeoCat/ESP32-P3RGB64x32MatrixPanel/blob/0d55a1348478a6711f6b0ce4b7537a5ce2556b8b/P3RGB64x32MatrixPanel.cpp#L85 to

  int16_t idx = (63 - x) + (31 - y) * 64;

?

Robiv8 commented 4 years ago

i will try it tomorrow, thanks

Robiv8 commented 4 years ago

Great! Work Thanks