avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Bit of code


From: Brandon Tolbert
Subject: [avr-gcc-list] Bit of code
Date: Fri, 14 Jun 2002 14:44:44 -0500

        ldi     temp,0x81           ;non-inverting PWM, 8-bit
        out     TCCR1A,temp
        ldi     temp,0x02           ;CK/8
        out     tccr1b,temp
 
this little bit of code I believe has an error from what I thought I understood of PWM. Isn't it true that the prescaler does not work in PWM? Hope someone that is better at pgming can help me out. thanks to all..

reply via email to

[Prev in Thread] Current Thread [Next in Thread]