Enable PWM on an ATtiny by programming its registers

Let's find out how to recreate Arduino's Fade example by manually manipulating an ATtiny's registers with C and avr-libc.

Jan 23, 2022

5020 views

0 respects

Components and supplies

1

Jumper wires (generic)

1

Arduino UNO

1

ATtiny85

1

LED (generic)

1

Breadboard (generic)

1

Resistor 220 ohm

Project description

Code

blink.c

c_cpp

Downloadable files

Layout

Layout

Image

Schematics

Schematics

Image

Layout

Layout

Image

Schematics

Schematics

Image

Comments

Only logged in users can leave comments

bearislive

0 Followers

0 Projects

0