[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] I need some help I am trying to use interrupts but...
From: |
atifplus |
Subject: |
Re: [avr-gcc-list] I need some help I am trying to use interrupts but...sigh!! |
Date: |
Wed, 19 Mar 2008 16:28:19 -0700 (PDT) |
Thats right I used exactly what you wrote 2 days ago.
:)
This fourm take long to get hte reply but yes that solved the problem Thanks
for the response
David Kelly wrote:
>
> On Mon, Mar 17, 2008 at 09:28:47PM -0700, atifplus wrote:
>>
>> so as long as my move variable is 1 2 3 or 4 the interrupt should keep
>> sending pulse accordingly but i am not getting anything on portB
>
>> PORTB |= (0 << PB3)|(0 << PB4);
>
> Do you really believe you can OR a 0 into bit locations PB3 and PB4?
>
> This is what I think you intended:
>
> PORTB &= ~( (1<<PB3) | (1<PB4) );
>
> --
> David Kelly N4HHE, address@hidden
> ========================================================================
> Whom computers would destroy, they must first drive mad.
>
>
> _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
>
>
--
View this message in context:
http://www.nabble.com/I-need-some-help-I-am-trying-to-use-interrupts-but...sigh%21%21-tp16114203p16161301.html
Sent from the AVR - gcc mailing list archive at Nabble.com.