i use pin 19 as TX on esp32 to send data to "df player module" (uart)
` mp3_serial.begin(9600, SERIAL_8N1, -1, 19); // Begin serial communication
then when i dont need "df player module" i need to set pin 19 to low
digitalWrite(19, LOW);
so after this even if i set digitalWrite(19, HIGH); i cant communicate with df player module
is there any other way to set TX pin to low when i dont use serial communication with df player or this is the way and then need to do something to enable uart communication again
it consume lot of power, coz im in battery. i use pnp to stop dfplyaer but it still has power because of txt pin. when i set txt pin to low then df player dont consume power