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 / 3061
  LNP problem
 
Hi, I'm just getting started using LNP, read the howto and tried to play around with the examples therein. However, somthing goes wrong. I have a little programm on the RCX increasing a counter every second, displaying it's value on the lCD and (...) (22 years ago, 5-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: LNP problem
 
(...) What about ptr = (char *)&temp; Regards Michael (22 years ago, 5-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: LNP problem
 
(...) You are right, that would have probably given me a segfaut if the handler would have ever been called, but it isn't. Even a single, static printf in the handler doesn't work. What worries me are the error messages lnpd reports: (...) (22 years ago, 5-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: LNP problem
 
(...) I know that this won't help, but I tried your program (and the lnptest.c program from the lnp distribution) and got the same errors. No message came through, only frame errors. Will have a closer look at this. Regards, Michael (22 years ago, 5-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: LNP problem
 
(...) Thanks. Too bad it doesn't work, but at least now I know it's not me :) Please let me know if I can be of any help. BB (22 years ago, 5-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: LNP problem
 
(...) Ok. This is indeed the result if you run the original LNP package. There are several problems with your sources, too. So try the following to get things done: First, go to the lnpd subdir and edit rcxtty.c. In function tty_init you find a line (...) (22 years ago, 5-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: LNP problem
 
(...) This works in deed! Thank you so much Michael! No way I would have found this myself. BB (22 years ago, 5-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: LNP problem
 
Hi everyone, I have to say I have found these messages very interesting, and was wanting to use lnp myself but i do not know where to write and make my programs. And I would also like to find out more about how you write the pc code and the rcx code (...) (22 years ago, 28-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: LNP problem
 
(...) I don't know anything about Windows, but I started using LNP on Linux with good results lately. It really isn't that hard once you get your first programm running ... :) I wrote a little remote-control/monitor app based on LNP. While for Gnome (...) (22 years ago, 29-Jan-03, to lugnet.robotics.rcx.legos)

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