| | Re: problem with lnpd...help!?
|
|
(...) this must be char test4 = 'a'; I think. Otherwise, you won't sent an 'a' anyway. But I can't imaginge why you want to do this. Michael Ash has shown a way to fiddle the strings into a contigous data area ready to be sent. But why do you want (...) (23 years ago, 15-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: problem with lnpd...help!?
|
|
(...) That's wrong. You should write "char test4 = 'a';", otherwise you are implicitly casting the character 'a' to a pointer to store it in test4 (the compiler should warn you about this; use -Wall to catch these errors). (...) Then this line (...) (23 years ago, 15-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: problem with lnpd...help!?
|
|
This is really more of a general C question than an lnpd question. Anyway, the problem is with serialization; you want to take a structure in memory, and turn it into a stream of bytes, either to store in a file, send over a network, or whatever. (...) (23 years ago, 15-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | problem with lnpd...help!?
|
|
hi all. im using legOS 0.2.4 and using lnpd to communicate with my linux box. now then, here is my problem. lets imagine i have the following: foo{ int test; char *test2; void *test3; }; char *test4 = 'a'; char *test5 = 'b'; struct foo bar* = NULL; (...) (23 years ago, 15-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: legOS not working with external relay switches
|
|
quite possibly. I havn't hooked up a scope, but it seems to be as close to full power as possible....interesting "Max Bowsher" <maxb@ukf.net> wrote in message news:006401c1c9ec$bd...ibm.com... (...) power (...) otherwise (...) (23 years ago, 13-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: legOS not working with external relay switches
|
|
I think I remember hearing that legOS full power is actually about 99% power ??? Something to do with an optimization to the code, which would otherwise require special handling ??? This is a vague memory - can others confirm ??? Max. ----- Original (...) (23 years ago, 12-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Linux driver for USB Tower
|
|
A better link would be (URL) you have to find the link for the Project Home Page (under Public Areas). Ed P.S. I am not involved either! Rainer Balzerowski <balze2@gmx.net> wrote in message news:Gpn9Lo.6E@lugnet.com... (...) (23 years ago, 11-Mar-01, to lugnet.robotics.rcx.legos)
|
|
| | Re: legOS not working with external relay switches
|
|
three 2200uf capacitors fixed the problem but does anyone know why the difference between legOS and the standard firmware?? "Kingsley Gifford" <kgifford@thezone.net> wrote in message news:3C8BDD44.809080...one.net... (...) (23 years ago, 11-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Fw: exponents, e^
|
|
legOS isnt hard to setup on windows, but i think lejos is an easier environment to setup/use, especially for users who have no cygwin/unix experience.... (...) (23 years ago, 11-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | legOS not working with external relay switches
|
|
I'm in the process of "reviving" past inventions with my new knowledge of legOS. One such invention (if you can call it that) used 3 12V relay switches to control external circuits. Full power on the outputs would trigger the relays. however, under (...) (23 years ago, 10-Mar-02, to lugnet.robotics.rcx.legos)
|