Im using <LiquidCrystal.h> arduino library,on a 2x16 LCD screen, with an accelerometer. I'd like to flip the the text when my x value exceeds N value. I get how to output text. I tried straight up flipping the text, with an online converter, but the text that renders is garbage. lcd.print("¡pןɹoʍ 'oןןǝɥ"); // Print a message to the LCD.

enter image description here

  • what does this actually mean? ... flip text
    – jsotola
    Apr 23, 2022 at 22:08
  • @jsotola it means to rotate the letters. see example in the question. as Majkenko points out unicode chars wont do. but i have an idea.
    – j0h
    Apr 23, 2022 at 22:50
  • I asked because it could also mean to reverse the background and foreground colors
    – jsotola
    Apr 23, 2022 at 23:40
  • @jsotola, ah I see.
    – j0h
    Apr 24, 2022 at 1:52
  • can you link the datasheet of the LCD you have Apr 26, 2022 at 18:58

1 Answer 1


It's not possible. The text is a simple ASCII character set that is encoded in ROM. It can't (other than a few user-defined characters) be changed. And being simple ASCII it doesn't support any UNICODE characters which are used for "upside down" text.

To do what you want you'd need a graphical LCD screen instead of a pure text one.

  • maybe I can make a bunch of byte arrays and write my own alphabet of upside down glyphs. Im dyslexic AF so it should be fun. I wonder how much it'll occupy in memory
    – j0h
    Apr 23, 2022 at 22:48
  • 2
    @j0h You only have 8 user defined characters. Not enough for the whole alphabet. Maybe enough for a short word or two...
    – Majenko
    Apr 23, 2022 at 23:10
  • 1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.