Log in

View Full Version : Easy Q - Where can I get the example code for 2011


tetravaal
08-01-2011, 23:46
Our team had a dedicated programmer that unfortunately doesnt have the time to donate to the cause anymore! As such im going to try to take over those duties with NO prior knowlege, but last I knew each year some example code (default code?) is provided.

Searched all over the FRC site and I havent been able to locate it.. Can anyone point me in the right direction?

Joe

Dustin Shadbolt
08-01-2011, 23:54
Well first you have to apply the updates for your respective language.

http://usfirst.org/roboticsprograms/frc/content.aspx?id=18758

Once you update your software, the new example code (floor line tracker and some more goodies) are then present.

Have anymore questions? Feel free to ask!

tetravaal
09-01-2011, 00:21
Thanks dShad! Now to the easy part of programming! :yikes:

Patrick Chiang
09-01-2011, 03:28
Quick tip: If you read over the manual, it tells you how to do basic stuff like how to create a new project, how to upload it, how to run it...etc.

Also, we learned how to program by looking at sample code, but eventually scrapped the sample code and rewrote it in the end. Something to consider. :)

Dustin Shadbolt
09-01-2011, 10:54
Like Patrick said, the sample code is actually a lot. It there are also tons of examples on CD and on the software itself. :D