ATTiny85; order of magnitude loss of speed when enabling map AnalogRead function

Actually, based on your response to Robin, it looks like the sawtooth is what you are intending, not a half triangle wave. Am I reading that right?


Triangle, or sawtooth?