Go Down

Topic: interrupt (Read 390 times) previous topic - next topic

alva

Need help>.>
how to use interrupt to break a loop.
exactly i created a lopping program, and i want to break it when i send a data using serial port.
Anny suggestion?? thx a lot :smiley-eek:

MarkT

Have you read the sticky thread "Read this before posting a programming question..." ?
[ I won't respond to messages, use the forum please ]

Cybernetician

#2
Nov 20, 2012, 03:57 am Last Edit: Nov 20, 2012, 05:23 am by Cybernetician Reason: 1
Quote
Have you read the sticky thread "Read this before posting a programming question..." ?


i agree with you

@alva

try this
http://arduino.cc/en/Reference/SerialEvent
http://arduino.cc/en/Tutorial/SerialEvent
From Idea To Invention

WizenedEE


Have you read the sticky thread "Read this before posting a programming question..." ?


I think that thread should be given a less obvious name because I feel like I'm insulting people's intelligence when I say "Did you read "Read this before posting a programming question..." before you posted a programming question?"

Perhaps "DON'T READ THIS SECRET STUFF INSIDE"

James C4S


i want to break it when i send a data using serial port.

Sending data over Serial is already interrupt-driven.
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

patduino

Not sure if this answers your question, but a break statement will get you out of a loop.
There are 10 types of people in the world, those that understand binary, and those that don't.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy