Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

Duty cycles.

Duty cycles.

2005-02-16 by Luke.Wei

Dear,
      If i want to control pulse duty cycles, how can i do? 


                                                      thanks

      Luke.

Re: Duty cycles.

2005-02-16 by Luke.Wei

--- In AVR-Chat@yahoogroups.com, "Luke.Wei" <mrddt4todie@y...> wrote:
> 
> Dear,
>       If i want to control pulse duty cycles, how can i do? 
> 
> 
>                                                       thanks
> 
>       Luke.

Excuse to english .
I want to control avr's portb output pulse duty cycles in the same 
frequency, how can i do ? 
                                                         thanks

     Luke.

Re: [AVR-Chat] Re: Duty cycles.

2005-02-16 by Russell Shaw

Luke.Wei wrote:
> 
> --- In AVR-Chat@yahoogroups.com, "Luke.Wei" <mrddt4todie@y...> wrote:
> 
>>Dear,
>>      If i want to control pulse duty cycles, how can i do? 

Set the timer/counter to pwm mode then set the duty cycle in the
output compare register (OCR1A, OCR1B etc).

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.