Page 1 of 1
Ok, time to upgrade - help.
Posted: 14 Nov 2010, 21:21
by borntoown
Hello.
I'm perfectly sure that it's time for me to start programming my nxts in anthor programming language. Dont u agree?
Well, in this point;
1) What language should i start with, (give me link, what follows, ... ) ?
2) How to understand it? (Link, post or tell me)
Thanks, everyone.
Re: Ok, time to upgrade - help.
Posted: 14 Nov 2010, 21:57
by noeyewar
It really depends of your programming experience (if any?) and computer skills in general.
NXC is probably the best bet, especially because the programming environment (the program your are using to write your code with) is really nice and easy to use. You can check out this website:
http://bricxcc.sourceforge.net/nbc/
Download brixcc
http://sourceforge.net/project/showfile ... e_id=67285 and install it. Then you can start programming using the following tutorial:
http://bricxcc.sourceforge.net/nbc/nxcd ... torial.pdf
Re: Ok, time to upgrade - help.
Posted: 15 Nov 2010, 01:30
by dudmaster
I agree. NXC is the best way to go. I use NXC only.
Re: Ok, time to upgrade - help.
Posted: 15 Nov 2010, 13:30
by hassenplug
There are soo many options. This list is not totally updated, but will give you some ideas about the differences:
http://www.teamhassenplug.org/NXT/NXTSoftware.html
Steve
Re: Ok, time to upgrade - help.
Posted: 15 Nov 2010, 14:54
by borntoown
Thanks, everyone. I'd go with NXC for now.
Re: Ok, time to upgrade - help.
Posted: 16 Nov 2010, 04:50
by muntoo
borntoown wrote:Thanks, everyone. I'd go with NXC for now. ( It seems hard. )
You may also want to look at some C/C++ tutorials. The
NXC Tutorial doesn't fully explain the C related stuff, IMO.
A Great C++ Programming Online Tutorial
Get the Microsoft Visual C++ 2008 Express Edition IDE.
Re: Ok, time to upgrade - help.
Posted: 16 Nov 2010, 08:21
by borntoown
Well, ok, I did the following:
I read the tutorial and there is some stuff i didnt understand -
page 14: int name [] thing.
page 25:Arguments of the function.
page 26:#define turn_around \ --> must be "around"? What other words are available?
page 31: Advanced commands from OnFwdReg.
page 33: PID control.
Thanks
Re: Ok, time to upgrade - help.
Posted: 16 Nov 2010, 18:44
by mattallen37
14: Arrays. They are basically a group of individual variables with the same name, that are indexed by number, in the [].
25: A way to transfer variable or other info to the function you are telling to run.
26: #define is used to declare constants, so to speak. You can use whatever name you want, because you are setting it up.
Dunno about the rest.
Re: Ok, time to upgrade - help.
Posted: 17 Nov 2010, 12:01
by borntoown
I wrote my first program
Well, it's not hard - you just need to know what to write. It's little confusing lol.
Re: Ok, time to upgrade - help.
Posted: 17 Nov 2010, 12:55
by mightor
Don't worry, it does get better with practice! Just keep at it
- Xander