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 / 486
485  |  487
Subject: 
asm in NQC.
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Wed, 1 Mar 2000 08:26:43 GMT
Viewed: 
1746 times
  
All,

I have tried various ways to put asembly in my
NQC programs.  I have copied stuff from the header
files but it does not work.

I would like to use the slope parameter of the
SetSensorMode opcode, but NCQ does not support
this.  That is why I need to asm it.

Any help would be appreciated,

Thanks,

John C. Quillan



Message has 1 Reply:
  Re: asm in NQC.
 
(...) You don't really need asm to do this. Due to a side-effect of how the bytecodes are implemented, you can set the slope value simply by adding it to the 'mode' parameter... // use a slope of 10 for light sensor on port 1 SetSensorType(SENSOR_1, (...) (25 years ago, 2-Mar-00, to lugnet.robotics.rcx.nqc)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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