 | | Re: FLASHING LIGHT ON LCD PANEL?
|
|
(...) The simplest solution is to reload the firmware. You can use the Lego software to do this. I'm almost positive you can reset if from inside NQC, but since I don't use NQC, I can't give you sample code. -Kekoa (27 years ago, 19-Jan-99, to lugnet.robotics)
|
|
 | | RE: is Mindstorm/RCX Y2K Compliant???
|
|
This is getting way out of hand... (...) If it doesn't know what year it is, then it can't have a Y2K problem! And even if it would know about the year, and even if there was a Y2K bug, I don't think it would matter much. In the worst case, your (...) (27 years ago, 19-Jan-99, to lugnet.robotics)
|
|
 | | Re: is Mindstorm/RCX Y2K Compliant???
|
|
(...) No, just because it has a microcontroller in it doesn't mean it will stop working in 2000. Russell is absolutely right. If it doesn't know what the year is (you never tell it) it doesn't know when Y2K is going to happen. There are too many (...) (27 years ago, 19-Jan-99, to lugnet.robotics)
|
|
 | | Re: Expression limitations w/bytecode
|
|
(...) The firmware does support basic arithmetic operations. You can use them in NQC like this... int a, b; task main { a = IN_1; b = IN_1; b -= a; } Dave p.s. As a side note, NQC does not support stuff like "a=b+c", but this is due to concurrency (...) (27 years ago, 19-Jan-99, to lugnet.robotics)
|
|
 | | Expression limitations w/bytecode
|
|
As I understand it, the bytecode interpreter doesn't allow you to do fairly simple things like subtract two variables from each other. That makes doing comparisions between sensors somewhat challenging if you want to know the magnitude of the (...) (27 years ago, 19-Jan-99, to lugnet.robotics)
|