Answer the question
In order to leave comments, you need to log in
PWM on atmega8 via Arduino IDE?
For a simple project, you need to smoothly blink the light tape. Smooth ignition and extinction.
As the cheapest option, I chose atmega8 (dip 28). It was stated that there are 3 pwm (shim) channels available.
Arduino UNO acted as a programmer.
In test cases via Arduino as ISP, everything works only as digitalWrite() logical 0 or 1.
analogWrite() did not work on any of the examples.
The generator took an internal one at 1 MHz.
Answer the question
In order to leave comments, you need to log in
read about timers in avr, for example, on easyelectronics.ru and play it yourself.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question