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 / 1790
1789  |  1791
Subject: 
Re: Swan firmware crash!
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Thu, 21 Jul 2005 21:48:34 GMT
Viewed: 
6964 times
  
In lugnet.robotics.rcx.nqc, Steve Lane wrote:
That's where your completely wrong. I can see the error, calls to motor power
should be set out like this

    motorPower128(1) = MyVariableName;

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 includes constants that no longer match the newest versions of the
Swan fast firmware (fast0103.lgo dated 2005-01-13).  That might explain why
users of the latest NQC release are having problems when they try to run
programs against an old copy of the Swan firmware.

Dick, could you make the 0103 firmware (which should be in-sync with the API
built into NQC 3.1r2) available on your website?

John Hansen



Message has 1 Reply:
  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)

Message is in Reply To:
  Re: Swan firmware crash!
 
(...) That's where your completely wrong. I can see the error, calls to motor power should be set out like this motorPower128(1) = MyVariableName; in this example the constant "1" means set the power to output B to the value specified by (...) (19 years ago, 20-Jul-05, to lugnet.robotics.rcx.nqc)

23 Messages in This Thread:





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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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