MajicDesigns / MD_Parola

Library for modular scrolling LED matrix text displays
GNU Lesser General Public License v2.1
438 stars 135 forks source link

flip / rotate text #65

Closed thbl closed 4 years ago

thbl commented 4 years ago

hi is there a function to flip / rotate text ?

MajicDesigns commented 4 years ago

setZoneEffect()

aleb commented 2 years ago

To scroll left the text on a display rotated 180 degrees:

  myDisplay.displayZoneText(0, "Hello", PA_CENTER, 100, 0, PA_SCROLL_RIGHT, PA_SCROLL_RIGHT);
  myDisplay.setZoneEffect(0, true, PA_FLIP_LR);
  myDisplay.setZoneEffect(0, true, PA_FLIP_UD);