I have an ATmega328 connected to a Raspberry Pi via serial using a level shifter.
The AVR has the Arduino Bootloader installed and I would like to program it via serial.
What would be the best way to connect the ATmega reset pin to the Pi's GPIO pin 4?
(Keep in mind that the AVR reset pin has a 5 V pull-up resistor connected to it.)