| | Re: compiling problem
|
|
(...) thanks for replying Kevin, a) i did not know there were compile options, how do i change them? b) i am getting parse errors on the close brackets just before ELSE and the third-last bracket thanks (19 years ago, 21-Oct-05, to lugnet.robotics.rcx.nqc)
|
|
| | Re: compiling problem
|
|
You are missing semicolons after the: Wait(turn_time) lines (both) And a code suggestion, instead of: task drive() { while(true) { OnFwd(OUT_A); } } make it: task drive() { OnFwd(OUT_A); while(true) { } } as the motor stays OnFwd until turned off. (...) (19 years ago, 21-Oct-05, to lugnet.robotics.rcx.nqc)
|
|
| | Re: compiling problem
|
|
Hi Bennet, Before we can help, we need a bit more information: a) What NQC compile options are you using? b) What syntax errors are you getting? Kev (...) <snip> (19 years ago, 21-Oct-05, to lugnet.robotics.rcx.nqc)
|
|
| | compiling problem
|
|
could someone please tell me what is wrong with this program? i am new at nqc and can not seem to find a way to compile it. the program is for a front-wheel-drive tricycle similar to Michael Gasperi's version of a "grey walter turtle" #define (...) (19 years ago, 21-Oct-05, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC/BricxCC test
|
|
(...) Only if active is meant to cause the watch window to quit polling for values if some other BricxCC window is the active window. When graphing this means that after you bring up the graph window you need to click back on the Watch window to (...) (19 years ago, 18-Oct-05, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC/BricxCC test
|
|
(...) Duh! I had 'only if active' ticked and I dont suppose that changes in my light sensor were enough to trigger it. I now have watching the brick & graphing working! I notice that (unused) counter 0 and 1 take on the values of var 0 and 1 and (...) (19 years ago, 18-Oct-05, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC/BricxCC test
|
|
(...) This seems to have fixed all the problems that I was having with the serial tower and Bricx. [It also downloaded new (Swan)firmware OK] The template right-click is great too :-) I wasn't able test out the new (Vers.10) graphing part as I dont (...) (19 years ago, 18-Oct-05, to lugnet.robotics.rcx.nqc)
|
|
| | NQC/BricxCC test
|
|
I could use some help testing a modification to NQC and BricxCC which is attempting to correct some problems I introduced with the serial IR tower and also the USB tower. Could a few adventurous souls download (URL) and try out the NQC and BricxCC (...) (19 years ago, 14-Oct-05, to lugnet.robotics.rcx.nqc)
|
|
| | NQC release 3.1r4
|
|
(URL) changed the Spybot program code generation slightly so that it matches that generated by the MindScript compiler. Tasks which are not empty are no longer ended with a Stop Task sequence. Empty tasks are ended (as before) by a Stop Task (...) (19 years ago, 13-Oct-05, to lugnet.robotics.rcx.nqc)
|
|
| | NQC release 3.1r3
|
|
(URL) a bug in expressions like a = a*2 + a*3; Thanks! John Hansen (19 years ago, 4-Oct-05, to lugnet.robotics.rcx.nqc)
|