need help understanding code

Any good coders willing to help me with my project, I have some code but I don’t understand how it works. The owner is not responding.

Please say if you can help.

What code do you have?

I assume the code the owner used in the video, everything is in the link.

if you are seriously about helping me please say so, the problem is that the owner did not make any comments and my programming is not good enough to understand what is happening.

Caadi: I assume the code the owner used in the video, everything is in the link.

if you are seriously about helping me please say so, the problem is that the owner did not make any comments and my programming is not good enough to understand what is happening.

So instead of posting the code your have, we're to go through the links and dig around to find it?

Wasn't obvious to me that code was posted at the video site.

The link to the code was in the 4th comment from the END of the article comments. Even though I found the link for the code, I refuse to download it to help this person. Come on, OP, put SOME EFFORT into asking for our help. We WILL NOT do all the work for you. Get the code, post it here, then ask your questions.

You don't have to down load it to look at it But the OP is really lazy not to post it. And what help does he need with the code looks fine and it worked in his video.

So the problem is how you make this work on his uno where to hook what and the like.

https://code.google.com/p/aguaviva-libs/source/browse/arduino/sketches/laserpojector/laserpojector.pde

The OP not only didn't post the code, he didn't even post a link to the code - he posted a link to an article that didn't even post a link to the code until someone asked for it in comment 32 out of 36. I think it's a grave disservice to the people on this board that freely give their time to do the OP's work and post either the code, or a link the code for him as you did, and then expect help. Perhaps next once of us should just catch a flight to the OP's house, buy all the components that he needs, wire it all up for him, and then fly ourselves back home.

The OP has provided NOTHING necessary to even BEGIN to answer the questions that he has not even asked yet. The OP's contribution to this thread has been ZERO. When he was asked about the code, he simply referred back to same article that he originally mentioned - STILL refusing to even post a link to the actual code.

The OP deserves NOTHING from this forum until he can at least form a question and post the code that he is referring to.

Hey dude you need to chill, not sure why you so upset.

I didn't directly link the code because I want whoever looking to help me understand the project and what the owner of the code intended it for, I wouldn't think the code by it self would be much useful.

So if anyone want to help me that would be much appreciated, please message me and I will try to give you as much information I currently have and what I already done.

thanks

So if anyone want to help me that would be much appreciated, please message me

That's not what the forum is for - if you don't want to share, you should post in gigs and collaborations.

be80be: You don't have to down load it to look at it But the OP is really lazy not to post it. And what help does he need with the code looks fine and it worked in his video.

[u]So the problem is how you make this work on his uno where to hook what and the like.[/u]

https://code.google.com/p/aguaviva-libs/source/browse/arduino/sketches/laserpojector/laserpojector.pde

yep that is my question. Any ideas ? first of I was confused there are two laserpin declared but in the video he has only one.

first of I was confused there are two laserpin declared but in the video he has only one.

It appears from the code that the second laserPin is only ever written LOW, so I don't think it really matters.

AWOL:

first of I was confused there are two laserpin declared but in the video he has only one.

It appears from the code that the second laserPin is only ever written LOW, so I don't think it really matters.

What must I do to make the code operational assuming it is all correct.

If the code is correct, then it must be operational - I don't understand the point of your question.

AWOL: If the code is correct, then it must be operational - I don't understand the point of your question.

I tried using it but nothing happened.

I expected the message to show but nothing. The laser didn't even blink, I tried it also with an led and same thing.

Maybe there is a mistake of I am missing something, like a on feature. This is why I need help, if someone could explain the code. When I see arrays and stuff I get confused.

What have you got connected to pin 2? i.e how are you triggering this thing?

AWOL: What have you got connected to pin 2? i.e how are you triggering this thing?

photo/light gate. When a fin blocks it, it sends a high logic to arduino.

And does it work? are you seeing interrupts from it?

Yes it works, I wrote my own code to give me the RPM based on the output from this.

Also used pwm to change the speed for the motor and this was confirmed by the rpm read.

So can anybody help me understand this code?