Sign in

username:

password:



Not a member?

Search avrclub



Search tips

Subscribe to avrclub



avrclub by Keywords

AT90S2313 | AT90S8515 | ATMega | ATmega128 | ECL | FETS | IAR | Keyboard | LCD | STK50 | TMOS | UART

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | AVRclub | [AVR club] QUESTION ABOUT INTRRUPT

Atmel AVR Microcontroller discussion group.

[AVR club] QUESTION ABOUT INTRRUPT - elha...@yahoo.com - Dec 12 9:32:50 2007

I want to use External INT in AVR but I want to do this state:
When I press EX INT for first time port b.0 is been “1” and stays in this state until I press EX INT for 2nd time and this state portb.0 is been “0” and port b.1 is been “1”and stays until I press EX INT for 3rd time .

By the way I want this program by codvision

Thanks a lot



(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )


Re: [AVR club] QUESTION ABOUT INTRRUPT - David Kelly - Dec 12 10:23:16 2007

On Tue, Dec 11, 2007 at 11:51:36PM -0500, e...@yahoo.com wrote:
> I want to use External INT in AVR but I want to do this state: When I
> press EX INT for first time port b.0 is been ???1??? and stays in
> this state until I press EX INT for 2nd time and this state portb.0
> is been ???0??? and port b.1 is been ???1???and stays until I press EX
> INT for 3rd time .
>
> By the way I want this program by codvision

Put a latching pushbutton on your external INT pin, and I don't see any
need for software in your problem statement. You don't seem to *do*
anything with the inputs.

--
David Kelly N4HHE, d...@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.

______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )

[AVR club] e-mails - Zack Widup - Dec 12 11:18:27 2007

As a note from one of the moderators, all new members of this group are
moderated to keep the spam and riffraff out. There is one other moderator
and the owner. We can't always get to messages immediately to approve
them.

Please don't post the same message several times if you don't see it show
up immediately. It should be no longer than a day for one of us to get to
it.

Zack



(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )