Go Down

Topic: How to start an Other Program on arduino? (Read 1 time) previous topic - next topic

darkemule

Hi ,
i have a simple program which is detect people in an area with a movement sensor , but , how can i made this program automaticaly start an Other program when a person is detected ?

AWOL

Don't start another "program", start another function.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

darkemule

no , the arduino program should launch a program on processing

AWOL

First mention of Processing.
Why not just start another Processing function?
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

darkemule

cause the program on processing should only start when the sensor has detected a person

AWOL

OK, let's quit the "Twenty Questions" game, and find out what you want to do and with what resources.
Despite the topic title, this is looking less and less like an Arduino question and more like a Processing question.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

darkemule

I just want to know , how can i start a processing program directly with my arduino program

AWOL

I just want to know why you think that is the right thing to do, but I'm going to say "gobetweeno" instead.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

PaulS

Quote
I just want to know , how can i start a processing program directly with my arduino program

You can't. If the Processing program is ALREADY running, you can have the Arduino send serial data, and have the Processing sketch read serial data, to determine what to do,

Go Up