To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 2016
2015  |  2017
Subject: 
Re: LEGO remote and LNP (legOS 0.2.4)
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 28 Aug 2001 08:46:31 GMT
Viewed: 
1574 times
  
On Aug 27, Zhengrong Zang wrote:
Hi
I found after used the remote control patch in legOS.sourceforge.net, the
dll doesn't work, could you send me your patch?

Are you using windows?  Then try the attached patch.  It is completely
untested, as I have no windows to try on.

  Jochen

--- legOS/util/dll-src/rcxtty.c Tue Aug 28 10:41:09 2001
+++ legOS/util/dll-src/rcxtty.c Tue Aug 28 10:42:13 2001
@@ -123,7 +123,7 @@
     return -1;
   } else {
     dcb.ByteSize = 8;
-    dcb.Parity   = 0; // 0-4=no,odd,even,mark,space
+    dcb.Parity   = highspeed ? 0 : 1; // 0-4=no,odd,even,mark,space
     dcb.StopBits = 0; // 0,1,2 = 1, 1.5, 2
     dcb.fBinary  = TRUE ;
     dcb.fParity  = FALSE ;



Message has 1 Reply:
  Re: LEGO remote and LNP (legOS 0.2.4)
 
Thank you very much! I also found this problem at the moment, and I tested, it is ok! Zhengrong (...) (23 years ago, 28-Aug-01, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: LEGO remote and LNP (legOS 0.2.4)
 
Hi I found after used the remote control patch in legOS.sourceforge.net, the dll doesn't work, could you send me your patch? ZHengrong (...) (23 years ago, 27-Aug-01, to lugnet.robotics.rcx.legos)

11 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