tinyAVR

img
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 code example   [codesyntax lang="c"] #define F_CPU 1000000UL...
img
Similar to our previous example when we flashed a single LED, in this case we connect 3 LEDs up to Pin 5, 6 and 7 which are PB0,1 and 2. We will then flash 3 LEDs Here is the schematic for this example Schematic [caption...
This div height required for enabling the sticky sidebar
Ad Clicks : Ad Views : Ad Clicks : Ad Views :