Attiny2313 and PWM led example In this example we connect an LED to PB2 (Pin 14) of an Attiny 2313. The PWM output is obtained from the OC0A output of timer/counter0. Schematic Code Avr studio … 0 FacebookTwitterPinterestEmail