1
vote
ATTiny85 PWM on PB2 not working - only on/off, no fade
Have a look at the datasheet of the ATtiny85. Figure 11-5 shows how the Timers work when in Output Compare mode (which is the one used for PWM).
The wave generator on the bottom connects to the OCnx ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
arduino-ide × 1575arduino-uno × 378
esp8266 × 232
esp32 × 131
programming × 125
c++ × 124
serial × 93
nodemcu × 90
arduino-mega × 83
arduino-nano × 74
library × 61
wifi × 46
c × 42
sensors × 40
uploading × 35
attiny × 32
ide × 32
atmega328 × 31
compile × 31
compilation-errors × 31
bootloader × 30
bluetooth × 28
avrdude × 26
http × 26
usb × 25