Pages: [1] 2   Go Down
Author Topic: need help understanding code  (Read 994 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

http://codinglab.blogspot.co.uk/2010/09/diy-laser-projector.html

Please say if you can help.
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 517
Posts: 26282
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What code do you have?
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

California
Offline Offline
Faraday Member
**
Karma: 88
Posts: 3350
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 517
Posts: 26282
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Tucson, AZ
Offline Offline
Sr. Member
****
Karma: 8
Posts: 311
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Full Member
***
Karma: 3
Posts: 244
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

Tucson, AZ
Offline Offline
Sr. Member
****
Karma: 8
Posts: 311
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 286
Posts: 25666
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
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.
Logged

"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.

Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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



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.
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 286
Posts: 25666
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
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.
Logged

"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.

Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
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. 
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 286
Posts: 25666
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

"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.

Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1] 2   Go Up
Jump to: