Skip to content

Latest commit

 

History

History

Timer2_PWM

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Config Timer2 in PWM Mode

MCU: ATmega32
Frequency: 8MHz

The PWM frequency for the output can be calculated by the following equation:

$$ FrequencyForPWM(OC2) = {clk \over Prescaler * 256 } $$

Prescaler: 1, 8, 32, 64, 128, 256 or 1024

Folder and Files Description

It has included:

  • Code_CodeVisionAVR (Code with C Language)
  • Simulate (Simulator File)

Simulate: v1.0

My GitHub Account: GitHub.com/AliRezaJoodi
Note: You can go here to download a single folder or file from GitHub.com