Esp32 mirroring letters in i2c oled screen

hi everyone i am new , i am making a project where a message is sent via bluetooth to oled screen i want the oled screen to show text as when i put screen in front of mirror it looks normal. Would need help into thing setting up esp32 bluetooth and showing mirrored text on oled

I've sent you a PM.

That sounds like an interesting project that could be a lot of fun! However, please keep in mind that we are not a free design or code-writing service. Most of us are more than happy to help with your design or code. However we need you to make an initial attempt. Please design and write your code, then post it along with an explanation of what’s not working properly.

  1. Show Your Work First: Before asking for assistance, make an attempt to design or write the code yourself. Share your work along with details about what isn’t working.
  2. Provide Clear Documentation: Since we can’t see your project, share an annotated schematic (best) or a clear drawing of your setup. Pictures are welcome, but avoid using Fritzing diagrams as they are wiring diagrams, not schematics, and are not ideal for troubleshooting.
  3. Include Technical Details: If there is specific hardware involved, include links to technical information. There are often many versions of similar components, so precise details are essential.
  4. Reference Resources: For additional help, check out useful links and tutorials: Useful Links on Arduino Forum.

do you have solution ? if yes please share it in public so that everyone can use , i am also in need of that solution , please share us
thanks in advance

The U8g2 library has an option to mirror the display, either horizontally or vertically.

OP posted on Jobs and Private Consultancy and may not want work that they paid for displayed for free to everyone else.

Oh okay so i have been trying to make it with arduino pro mini and hc05 bluetooth but when i asked my teacher for some advices he said that hc05 is not that reliable so i moved to esp32 i do not know the setup about esp32, the main problem i faced was mirroring as for instances i messaged "hello" it will show on screen "olleh" , i need it to mirror the letters pixel by pixel in order to show a mirrored effect not just change the position of the letter

i tried that but it shows "hello" as "olleh" but i need to mirror it pixel by pixel because as you can see "h" is still written as "h" but just at the last letter of the words except of the first letter of the word.

Check here:

And you think this is the correct approach? The part on paying sombody else to do your homework I mean.

oh no it is not a home work more like a side quest project but my laptop stopped working but i really wanted to finish the project so that is why i am paying , i asked my teacher for advice not as a home work .

i wrote this code can you tell me why is it still showing "h" as "h"

#include <Wire.h>
#include <U8g2lib.h>
#include <SoftwareSerial.h>

// Initialize OLED using I2C (change if using SPI)
U8G2_SSD1306_128X32_UNIVISION_F_SW_I2C u8g2(U8G2_R0, SCL, SDA, U8X8_PIN_NONE);

// Define Bluetooth module pins
#define rxPin 10
#define txPin 11
SoftwareSerial mySerial(rxPin, txPin);

// Store incoming text
String w = "";

void setup() {
    u8g2.begin();          // Initialize OLED
    u8g2.setFlipMode(1);   // Enable horizontal mirroring (flips text for mirror view)

    // Initialize Bluetooth serial
    pinMode(rxPin, INPUT);
    pinMode(txPin, OUTPUT);
    mySerial.begin(9600);
}

void oled() {
    u8g2.clearBuffer();               // Clear display
    u8g2.setFont(u8g2_font_6x10_tf);  // Set font
    u8g2.setCursor(0, 15);            // Set text position
    u8g2.print(w);                    // Print mirrored text
    u8g2.sendBuffer();                // Update OLED
}

void loop() {
    if (mySerial.available() > 0) {
        w = mySerial.readString();  // Read incoming text
        oled();                     // Display mirrored text
    }
}

As clearly stated in the link:
"Version 2.6.x will have a mirror option (u8g2 library only). Instead of the rotation, apply U8G2_MIRROR as first option to the constructor (see below). Rotation by 180 degree is still possible with the hardware flip function."

U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_MIRROR, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);