| | LNP problem Bodo Bauer
|
| | 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 Michael Obenland
|
| | | | (...) What about ptr = (char *)&temp; Regards Michael (22 years ago, 5-Jan-03, to lugnet.robotics.rcx.legos)
|
| | | | |
| | | | | | Re: LNP problem Bodo Bauer
|
| | | | | (...) 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 Michael Obenland
|
| | | | | (...) 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 Bodo Bauer
|
| | | | | (...) 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 Michael Obenland
|
| | | | (...) 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 Bodo Bauer
|
| | | | | (...) 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 Andrew Tait
|
| | | | 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 Bodo Bauer
|
| | | | (...) 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)
|
| | | | |