What signals do I need to send to reset the Nano Every?
I switched a project from an Uno to a Nano Every. I'm using pySerial in Python 3.7. In its FAQ, it says it toggles RTS and DTR when it opens the port. This works fine on the Uno. When I put the Nano Every in, it does not reset. I found an AVRFreaks forum post that says toggling DTR at 1200 baud works. The following code resets the Uno after the sleep, but the Nano Every does nothing.
ser = serial.Serial() ser.port = 'COM8' ser.baudrate = 1200 ser.setRTS(False) ser.setDTR(False) ser.open() time.sleep(5) ser.setRTS(True) ser.setDTR(True)