To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 23894 (-20)
  NQC and BricxCC
 
It is possible to use NQC 3.1 r1 whith BricxCC 3.3, I think that this is the last version of BricxCC available. And is possible to take aventage of the last characteristic of NQC 3.1 r1 Regards Eduardo www.complubot.org (22 years ago, 15-Apr-05, to lugnet.robotics)
 
  Re: sensor defined variable
 
(...) E:\winapps\projects\BricxCC>nqc -Susb -q -firmfast firm0328.lgo Downloading firmware:......... ......... ......... Current Version: 00030001/00030208 This is with NQC 3.1r1 for Win32. I hardly ever have problems with fast firmware download (...) (22 years ago, 14-Apr-05, to lugnet.robotics)
 
  AFOL Mindstorms touranment in Billund
 
Hi ALL, It was a great weekend in Billund, yes I'm referring to the 1st AFOL Mindstorms tournament, (URL) Thanks for hosting, and organizing it (Jan). Congratulation to the Italian, USA(1) and LEGO team for the first second and third place. I saw (...) (22 years ago, 13-Apr-05, to lugnet.robotics, FTX)  
 
  Re: My First MOC
 
More movies and pix now online. (URL) Andrew Meyer (22 years ago, 13-Apr-05, to lugnet.robotics, lugnet.technic, FTX)
 
  Re: sensor defined variable
 
I didn't actually try it from command line but this may be expected as explained below. Fast firmware download changes NQC to use a 4800 baud messaging protocol without complement bytes. This works fine for the downloading phase. Then the "unlock (...) (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  Re: sensor defined variable
 
(...) I gave up on the "fast" option a long time ago. It only works for me at normal speed. JB (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  Re: sensor defined variable
 
(...) As I mentioned earlier ((URL) you need to specify the -TRCX2 switch on the NQC command line: nqc -TRCX2 -Susb -d program.nqc GUIs such as MacNQC or BricxCC have configuration options which let you pick your target and then they pass that (...) (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  Re: sensor defined variable
 
i did it with MacNQC and it's working perfect now the weird thing is that just after firmware downloading, i tried to dload the PlayTone(SENSOR_1*10,5); program, and i still got the error. i tried it with macnqc and no problem at all. well, it (...) (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  Re: sensor defined variable
 
(...) The command line interface should work just fine, it's just not something I have installed on my machine, so I was trying to walk you through the way I do it in case you have the same interface. As to the error you get when downloading, I'm (...) (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  Re: GPS Reality?
 
"Steve Baker" <lego-robotics@crynwr.com> wrote in message news:4259F6E0.708040...ail.net... (...) where (...) I know of a group of students at the university in my town that have solved this GPS problem for a limited area. But it also have the (...) (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  Re: sensor defined variable
 
i'm doing it from the command line is it not a good idea? from the help file, it seems pretty straightforward: nqc -Susb -firmware xxxxxxxx.lgo (...) (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  Re: sensor defined variable
 
(...) How are you running NQC? If you are using MacNQC ((URL) under the 'RCX' menu there is "download firmware". A valid firmware file (firm0327.lgo) needs to be in the firmware folder. You also need to make sure the target is "RCX 2" (you can set (...) (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  sensor defined variable
 
i got the firmware (firm0328.lgo) and tried to download it to my RCX 1.0, but no luck so far /Users/roc % nqc -Susb -firmfast /Users/roc/LEGO/firm0328.lgo Downloading firmware:......... ......... ......... ....... No reply from RCX tried it several (...) (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  Re: sensor-defined variable
 
(...) Nothing is wrong with 10, it was my assumption that was wrong. There are more than one version of the LEGO firmware, and it appears you have an older version that does not allow variable frequencies (the frequency must be a constant). Try (...) (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  Re: sensor defined variable
 
how do i install the 2.0 firmware from mac os x? (...) (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  Re: sensor defined variable
 
Ensure you have the correct build target as well as the firmware setup when you compile. Orion -- (URL) - Build Robots (...) (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  sensor defined variable
 
well, i have the rcx 1.0 but the firmware is 2.0 or it should be :) i installed it some time ago why am i getting that then? r (...) (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  Re: sensor-defined variable
 
(...) # Error: argument must be a constant File "C:\DOCUME~1\jhansen...\temp.nqc" ; line 5 # PlayTone(SENSOR_1*10, 5); # ^^ #---...--- # 1 error during compilation If you use RCX as the target for compiling (or Cybermaster) then the PlayTone (...) (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  sensor-defined variable
 
hi again i tested your example, just to try, and i get compiler errors:; PlayTone(SENSOR_1*10,5); ^^ what's wrong with 10? what am i missing? thanks r (...) (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  Re: sensor-defined variable
 
(...) Hey, how do you think the rest of us learned? Perfectly all right (...) Yes. The SENSOR_n (where n = 1, 2, or 3) is just the numerical reading from the configured sensor. It's not a variable (you can not assign a value to it), but you can use (...) (22 years ago, 13-Apr-05, to lugnet.robotics)

Next Page:  5 more | 10 more | 20 more
Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR