Skip to content

rcv911/Fast-PWM-AVR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Fast PWM on ATmega16

It's turn on of hardware fast PWM in ATmega16 uses 2 controlling buttons with checking led.

  • 1st button - increase duty cycle
  • 2nd button - decrease duty cycle
  • led (PORTC) for work checking of fast PWM.

fast PWM

Motivation

Basic structure of fast PWM mode on ATmega16 for begginers. Don't forget to use datasheet!

Installation

  1. You can use another MCUs. All you need is datasheet. Don't forget change pins!
  2. Make project in AVR Studio choosing 8-bit MCU ATmega16.
  3. Copy code from pwm_check_led.c into your main.c file.
  4. Build project.

License

Free

Releases

No releases published

Packages

No packages published

Languages