 | | HELP!!Arrays in IC
|
| HI I have been trying to use arrays in Interactive C with the handybaord. I have to read from analog inputs 0,1,2 and 3 of the handybaord and put those values in an array. so I had written: int v0=analog(0); int v1=analog(1); int v2=analog(2); int (...) (26 years ago, 9-May-01, to lugnet.robotics.handyboard)
| | |  | | NQC 2.4 beta test
|
| NQC 2.4 a1 is in beta test, at the usual place: (URL) some of the constant value restrictions on some operators, added an option for merged source/assembly listings, added the ternary operator, added variable names back into code listings. Dave Baum (26 years ago, 9-May-01, to lugnet.robotics.rcx.nqc)
| | |  | | Re: NQC, what gives the fastest code ?
|
| It has very little to do with C itself - its really a question of compiler optimization. NQC doesn't have any explicit optimization passes, and there is no data flow or variable lifetime analysis, so often the assembly will be a bit inefficient. (...) (26 years ago, 9-May-01, to lugnet.robotics.rcx.nqc)
| | |  | | Elem./Middle School Robotics
|
| I posted the following under "Dear Lego" a few days back but in retrospect it should have been referenced here as well. I've finished this semester's lunchtime courses and am in the process of re-thinking this approach for next year. It strikes me (...) (26 years ago, 9-May-01, to lugnet.edu, lugnet.robotics)
| | |  | | What to buy...
|
| Hi. I have both the Cybermaster and the RCX, which come with several touch sensors and a light sensor. What sensors are the best to add? I was thinking of rotation sensors, but they seem to be difficult to get, and quite expensive too. Any (...) (26 years ago, 9-May-01, to lugnet.robotics)
| |