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 / 2019
2018  |  2020
Subject: 
Re: LEGO remote and LNP (legOS 0.2.4)
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 28 Aug 2001 11:54:28 GMT
Viewed: 
4392 times
  
Sorry, you can find remote control sample at
http://legochina.virtualave.net/legos/remote.zip

In lugnet.robotics.rcx.legos, Zhengrong Zang writes:
> I also combined the README, remote.c and remote.h in this patch, now a demo
> remote.lx can be downloaded to RCX, you can press any buttons of remote
> control, the "M1 on" will be displayed when pressed Message 1 on remote
> control, the "M1 off" will be displayed when released.
> 
> Zhengrong
> 
> In lugnet.robotics.rcx.legos, Zhengrong Zang writes:
> > Thank you very much!
> > I also found this problem at the moment, and I tested, it is ok!
> > 
> > Zhengrong
> > 
> > In lugnet.robotics.rcx.legos, Jochen Hoenicke writes:
> > > 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 is in Reply To:
  Re: LEGO remote and LNP (legOS 0.2.4)
 
I also combined the README, remote.c and remote.h in this patch, now a demo remote.lx can be downloaded to RCX, you can press any buttons of remote control, the "M1 on" will be displayed when pressed Message 1 on remote control, the "M1 off" will be (...) (25 years ago, 28-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
    

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