Sup, iam Gary Kervin, Today will be the best!
Can We Use Tx And Rx Pins?
Yes you can perfectly use these 2 pins as long as your program does not use Serial . EDIT: Serial data over USB goes through copper traces connected to the rx and tx pins, connecting them to the USB to serial converter chip.
Use TX and RX as GPIO on your ESP8266
Ever wanted more GPIO on your ESP8266? This is
Arduino: Can tx and rx pins on the uno be used like regular digital pins? (2 Solutions!!)
Arduino:
How to use TX/RX as data pins on esp8266 / Wemos D1 Mini
How to use TX