Attiny2313 20pu pwm variable duty cyclehelp please

Discussion in 'Embedded Systems and Microcontrollers' started by jimmiegin, Jun 19, 2014.

  1. jimmiegin

    Thread Starter Member

    Apr 4, 2014
    49
    0
    Hello.
    I am new to pics . I have an Attiny2313 20pu to hand and would like to know how if it is possible to set it up for pwm variable output to be controlled with tactile switches or maybe a rotary encoder? If so, does anyone have the answer for how I can do this please? The application is a variable psu current and voltage control so I need two outputs at different voltages both with a user variable duty cycle 0 to 100%. As always, many thanks for reading my post :)
     
  2. MrChips

    Moderator

    Oct 2, 2009
    12,440
    3,360
    ATtiny2313 is not a PIC.
    PICs are made by Microchip.
    ATtiny2313 are made by Atmel.

    Yes. Any microcontroller (MCU) can be used to generate PWM.
     
Loading...