1) Disconnect DFPlayer TX/RX from D0/D1. 2) Upload the sketch. 3) Reconnect DFPlayer TX/RX. In normal operation, keep DFPlayer connected to D0/D1. // With this wiring, switch ON means D2 is connected ...
Tools → Board → Arduino AVR Boards → Arduino Nano Tools → Processor → ATmega328P (Old Bootloader) Tools → Port → select the USB port (on Mac it looks like /dev/cu.usbserial-*) ...