| | Re: LEGO remote controller problem
|
|
Try removing the calls to lr_startup() & lr_shutdown(). I think these already get called outside of your program. (Sorry, don't have time to test right now). Mark "Christian Hornung" <c-hornung@gmx.de> wrote in message news:HIq2o2.Ht4@lugnet.com... (...) (21 years ago, 28-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: LEGO remote controller problem
|
|
(...) No, it doesn't. The IR indicator flickers, but running motors or starting the program doesn't work. In fact, I didn't know that there is a "default handler" until reading your message. Might the problem be caused by wrong versions of gcc or (...) (21 years ago, 28-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: LEGO remote controller problem
|
|
(...) I compiled your program and it did everything. No problem on my side. If you don't start your program, does the remote control work? Attach a motor at A, B and C and try to run it with the remote. Or try to run your program with the P1 button. (...) (21 years ago, 28-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: LEGO remote controller problem
|
|
Hi Michael, Thank you very much for your answer. Well, there isn't really much source, here we go: #include <conio.h> #include <unistd.h> #include <remote.h> #include <dsensor.h> int my_lr_handler(unsigned int etype, unsigned int key) { cputw(key); (...) (21 years ago, 28-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: LEGO remote controller problem
|
|
Hi Christian, (...) No program, no help. If you send me the sources, I will take a look and try to figure out the problem. In fact, I use the remote control without a problem. Regards, Michael (21 years ago, 27-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | LEGO remote controller problem
|
|
Hi, I have problems getting the LEGO IR remote controller to work (using brickOS 0.2.6.10). I wrote a small test program that installs a lr handler function which simply displays the received key value on the LCD. But when running this and pressing (...) (21 years ago, 27-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Missing .lx files
|
|
(...) helloworld.o (...) symbolsrec (...) helloworld.o (...) symbolsrec (...) ^^^...^^^ Did you think about investigating this error? Anyway, the version of binutils you are using is broken. Upgrade. (...) helloworld.dc1 (...) character" (...) (21 years ago, 27-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Missing .lx files
|
|
I have no .lx files in ../brickos-0.2.6.10/demo ! What I have done: 1. Looked for .lx in "demo": [ville@ville demo]$ ls c++/ c++.cpp helloworld.c helloworld.o linetrack.c Makefile robots.c rover.c rover.o sound.c trailerbot.c [ville@ville demo]$ 2. (...) (21 years ago, 27-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | dll problem added
|
|
I forgot to mention that i am working under Linux Red-Hat 7.3. (21 years ago, 23-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | dll problem
|
|
Hi i am currently working on legOS and i installed brickOS-2.6.10 successfully and downloaded the kernel to the RCX without problems. However when i tried to download the helloworld program with dll an error occured "error deleting program". I used (...) (21 years ago, 23-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: memcpy.c missing terminating " character
|
|
I had some problems sending the original messages before I went to vacation for 10 days... When I came home, I fixed the problem and did send: memcpy.c missing terminating " character BTW, I would like to write programs in C++. Greetings from (...) (21 years ago, 22-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | memcpy.c missing terminating " character
|
|
Hello! First: Im pretty new into Linux/unix as a sysadmin! I have installed gcc as a cross gcc (h8300): Here is what happens when I "make" the BrickOS-0.2.6.10: ###...### [root@ville lego]# tar zxvf brickos-0.2.6.10.tar.gz brickos-0.2.6.10/ (...) (21 years ago, 22-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Problems with USB Tower
|
|
look at the patch here: (...) (21 years ago, 21-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Please Help?! Problems with installing LegOS on WinXP
|
|
You might try following my instructions: (URL) recommend using the pre-built hitachi tools which you can download via the link in the document referenced above. Let me know if you have any questions. John Hansen (URL) (21 years ago, 19-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Please Help?! Problems with installing LegOS on WinXP
|
|
(...) Tyler, You can check to see what Cygwin packages have been installed on your system by using the cygcheck command at the cygwin command prompt. Try cygcheck -c If the output is too large for your dos window you can export it to a file by using (...) (21 years ago, 19-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Please Help?! Problems with installing LegOS on WinXP
|
|
(...) If you haven't installed 'make', there is *no way* you successfully built the compiler. If you go back to the URL you quoted, you will see make is listed as one of the required Cygwin packages to install. Re-run Cygwin setup.exe, install make, (...) (21 years ago, 19-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Please Help?! Problems with installing LegOS on WinXP
|
|
(...) Hi Ed, Thanks for replying. In (URL) Hitachi H8 cross-compiler was built in: c:\cygwin\build I'm assuming that's where it is. Also, what is the "make" command? Bash in cygwin cant seem to find it. Thanks Tyler. (21 years ago, 19-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Please Help?! Problems with installing LegOS on WinXP
|
|
(...) [SNIP] (...) Tyler, Where is compiler executable located on your system? Ed (21 years ago, 19-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Please Help?! Problems with installing LegOS on WinXP
|
|
Hi, Can anyone please, please help me with the installation of LegOS on my WinXP laptop? I have followed the instructions in "brickOS 0.2.6.10 Instructions for installing in WinXP" at (URL) to the letter but I still can't seem to get LegOS to run. (...) (21 years ago, 19-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Problems with USB Tower
|
|
Hi there, I got a problem running my USB-Tower on Linux. I installed the LegoUSB-driver and it seems to work (i see it in /var/log/messages when i plug it in). But when i run firmdl3 i get the following message: /dev/usb/lego0: not a tty I tried it (...) (21 years ago, 19-Jul-03, to lugnet.robotics.rcx.legos)
|