code writing help
Page 1 of 1

Author:  maddy [ Wed Oct 13, 2010 12:40 am ]
Post subject:  code writing help

could one of u geniuses help me write this code

The purpose of the LDR’S are to track the sun light and turn the solar panels 1 degree every 15 mins. Then after it has completed a course of 8 hours it should come back to its original position it was the previous day. (at night time).

3. The solar panels are already tilted to 15 degrees and it only need the LDR’S to be programmed to move 1 degree every 15 mins for an course of 8 hours. That’s all when it comes to programming the tracker.

Author:  mightor [ Wed Oct 13, 2010 2:12 am ]
Post subject:  Re: code writing help

Perhaps if you show us what you've done so far, we can point you in the right direction.

- Xander

Author:  maddy [ Wed Oct 13, 2010 4:12 am ]
Post subject:  Re: code writing help

Hi Xander
I'm have no idea where to start....I just started this unit in school and this was an assignment the lecturer wanted us to get info from the internet and do.....since i've never done any coding i'm stuck bigtime.....I have no idea how he expects us to do this without teaching us anything?....I didnt think it would be agood idea to make a fuss since he will be marking my final paper ....if u could atleast give me a rought idea i coould try modifyng it. cheers for your help

Author:  jbflot [ Wed Oct 13, 2010 9:15 am ]
Post subject:  Re: code writing help

A good place to start learning how to program the Cortex is here:

Also, you can check out the Sample Programs in ROBOTC by going to File > Open Sample Program. You'll find lots of examples on how to use the sensors, motors, ect.

Author:  RobinShoop [ Fri Oct 15, 2010 11:08 am ]
Post subject:  Re: code writing help


Another place to look is in the sample programs.

There are lots of sample programs that have all of the comments built into them.

I think that it is great for new programmers to begin to learn to program by looking at other peoples code. The fact that these programs include all of the comments explaining what each line of code does will really help you.

Good luck!

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group