To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 1796 (-10)
  direct manipulation of bits in RCX registers using NQC
 
Hi all, Can anyone tell me if it is possible to use NQC to directly set bits in RCX registers? And if so, how does one do it? I've seen C code examples of this in a few places, but no NQC examples. Specifically, I want to turn on and off the red (...) (19 years ago, 12-Sep-05, to lugnet.robotics.rcx.nqc)
 
  Re: Arrays and functions in NQC
 
(...) No. No. From the NQC Guide: The RCX2, Swan, and Spybotics targets support arrays (the other targets do not have suitable support in firmware for arrays). Arrays are declared the same way as ordinary variables, but with the size of the array (...) (19 years ago, 8-Sep-05, to lugnet.robotics.rcx.nqc)
 
  Arrays and functions in NQC
 
Two little questions for the NQC gurus... - Is it possible to use 2-dimentionnal arrays in NQC? - Is it possible (and if yes what is the syntax) to pass an array as an inline function parameter? TIA, Philo (19 years ago, 8-Sep-05, to lugnet.robotics.rcx.nqc)
 
  Button events with NQC
 
Hallo, I am new to developing software for the RCX using NQC. I have some experience using Java programming with Lejos. My Question: Is there a way to react to button events, and how? What I mean is, that I would linke to ask, wheater the e.g. (...) (19 years ago, 3-Aug-05, to lugnet.robotics.rcx.nqc)
 
  RE: Swan firmware crash!
 
I have put "fast0103.lgo" on web page. It appears that web page on my ISP (drjsoftware.com) doesn't match the local copy on my PC's hard drive. It will take me a few days to update. I'm also planning to release a firmware update in the same (...) (19 years ago, 22-Jul-05, to lugnet.robotics.rcx.nqc)
 
  Re: Attention please: Swan Problem demi-solved!
 
Here's the problem! I don't have fast0103.lgo, on swan's site there's only version 1.01. I think using that firmware (where can we find it?) and new NQC API all my problems are solved. About driving servo: to generate PWM for servo motors a (...) (19 years ago, 21-Jul-05, to lugnet.robotics.rcx.nqc)
 
  Re: Swan firmware crash!
 
(...) This is the old-style Swan API which is deprecated. The Swan API built into NQC uses MotorPower128(n) and SetMotorPower128(n, m). With the latest version of NQC you no longer need to include the old swan.nqh header file. The old swan.nqh file (...) (19 years ago, 21-Jul-05, to lugnet.robotics.rcx.nqc)
 
  Re: Attention please: Swan Problem demi-solved!
 
(...) Quite possibly you have an old version of the Swan firmware. My copy is called fast0103.lgo dated 2005-01-13. Dick sent me an updated version back then when I was working on the NQC API for his firmware. I don't know if it is available (...) (19 years ago, 21-Jul-05, to lugnet.robotics.rcx.nqc)
 
  Attention please: Swan Problem demi-solved!
 
I tried to use files included in OLD test_swan.zip and RCX don't throw exception 40 no more! Then I tried a program with #include "swan.nqh" with latest NQC version and RCX throws exception no.5! To Dick Swan: NQC API is changed from old test_swan (...) (19 years ago, 20-Jul-05, to lugnet.robotics.rcx.nqc)
 
  Re: Swan firmware crash!
 
(...) I already post a simple code that causes the error: (URL) task main{ SetMotorPower128(MTR_A,100); SetOutput(MTR_A,OUT_REV); Wait(300); Off(MTR_A); } The command SetMotorPower128 is the cause. (if I remove it, all works). Today I get also the (...) (19 years ago, 20-Jul-05, to lugnet.robotics.rcx.nqc)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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