| | Question about NQC code
|
|
Hi, I created the following light searching program: #define speed 2 #define inaccuracy 2 int lightstrength, max, min; task main() { SetSensor(SENSOR_2,S...OR_LIGHT); start searchforlight_a; } task searchforlight_a() { lightstrength = (...) (23 years ago, 15-Jan-02, to lugnet.robotics.rcx.nqc)
|
|
| | Re: BricxCC
|
|
(...) that's a good point, especially for larger programs ! Stef Mientki (23 years ago, 15-Jan-02, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Some remarks / questions about Brixcc
|
|
(...) Sorry about the mixup. I thought I'd tried capturing non-compiler errors with a redirect and it hadn't worked. But trying it just now it definitely does work. BricxCC is already capturing the compiler errors via the -E option. I am trying to (...) (23 years ago, 15-Jan-02, to lugnet.robotics.rcx.nqc)
|
|
| | BricxCC
|
|
Hi John, I just got a new computer and tested your program on a AMD 1.333GHz Athon (Thunderbird). It works just great! I thank you for the adjustments/adds in your program as I requested. There is just one question left. Since I use to Delphi, I (...) (23 years ago, 15-Jan-02, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Some remarks / questions about Brixcc
|
|
(...) Error messages go to one of two places. Errors from the compiler default to stderr but can be redirected with the -E option (-Efoo would sent them to a file named "foo"). Other errors (problem communicating with the RCX, illegal command line, (...) (23 years ago, 15-Jan-02, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Some remarks / questions about Brixcc
|
|
(...) I'll make this an option on the Watch window in the next release. Another user had requested that the Watch window only Poll when it was active. (...) This turned out to be a bug in the TFakeSpirit.SetSensorMode function. It will be fixed in (...) (23 years ago, 14-Jan-02, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Some remarks / questions about Brixcc
|
|
some other remarks (version 3.3.3.2) 1. when loading a large program, Brixcc gives an error message "Program execution timed out, try ..", although the downloading still continues and will finish correctly. 2. when downloading an even larger program (...) (23 years ago, 13-Jan-02, to lugnet.robotics.rcx.nqc)
|
|
| | Some remarks / questions about Brixcc
|
|
hi John, some remarks / question about Brixcc (I used versions 3.3.2.13 and 3.3.3.2) 1. "Watching the Brick" only polls when the window has focus. I use it often in combination with the direct control and then I have to be continously aware if the (...) (23 years ago, 13-Jan-02, to lugnet.robotics.rcx.nqc)
|
|
| | Re: MacNQC can't open the #include file
|
|
(...) Hi John, I've just uploaded MacNQC 2.2.4 which fixes the #include problem. You need to have the include file in the same folder as the source file. Have Fun, Rob Bate (URL) (23 years ago, 12-Jan-02, to lugnet.robotics.rcx.nqc)
|
|
| | Re: newbie
|
|
NQC is intended to write programs that run on programmable bricks (RCX, Cybermaster, and Scout). The 9751 is more like a peripheral for the host computer, so you'd need some tool that writes programs that run on the host. I think I've seen (...) (23 years ago, 12-Jan-02, to lugnet.robotics.rcx.nqc)
|