Tachometer to analog output

Hi
Yes I understand your need. A variable DC output on the output of an Atmega328 needs a circuit called a DAC.
D Digital
A Analog
C Converter

RV mineirin