| | NQC functions in C???
|
|
Hello all I am looking for C code for legos, to do the same as the below in NQC psksvp SetSerialComm(SERIAL...MM_76KHZ); SetSerialPacket(SERI..._DEFAULT); // Set the first unit two message bytes and send them SetSerialData(0,MANA...0x10+em1); (...) (22 years ago, 5-Jun-02, to lugnet.robotics.rcx.legos)
|
|
| | Thread class
|
|
// Thread Class for Legos // By Pongsak Suvanpong // psksvp@ccs.neu.edu // use it anyway you'd like as long as this comment is here #ifndef __THREAD_CLASS___ #define __THREAD_CLASS___ #include <unistd.h> #include <sys/dsensor.h> #include (...) (22 years ago, 5-Jun-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: bug in setting lnp host address?
|
|
you'll probably hate me for being a nitpicker.... (...) technically, you should not do any bitshifting at all. There is always the odd case when someone decides to be clever and have a hostmask with interleaved zeros. for example, a hostmask of (...) (22 years ago, 5-Jun-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: bug in setting lnp host address?
|
|
You are correct in stating that I shouldn't have restricted you to 16 nodes X 16 ports. I did however, want to normalize the host address in the visible API and user interfaces to be a small 0..N number instead of a random hex byte value, properly (...) (22 years ago, 4-Jun-02, to lugnet.robotics.rcx.legos)
|
|
| | bug in setting lnp host address?
|
|
include/lnp/lnp.h (from the cvs repository) 114: file://! set new LNP host address 115: extern inline void lnp_set_hostaddr(unsigned char host) 116: { 117: lnp_hostaddr = ((host << 4) & CONF_LNP_HOSTMASK); 118: } Why is host bitshifted by 4? This (...) (22 years ago, 4-Jun-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: help with setting up legOS 0.2.6 on Windows XP
|
|
Scott, I suggest you start by following the instructions by Paolo Masetti found at (URL) He has written a pretty thorough set of instructions that should get you started. I do suggest that you read it over once BEFORE starting so you don't miss (...) (22 years ago, 2-Jun-02, to lugnet.robotics.rcx.legos)
|
|
| | help with setting up legOS 0.2.6 on Windows XP
|
|
I'm new to legOS and would like help setting up legOS on my computer thanks scott (22 years ago, 2-Jun-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Mac OS X
|
|
Ed, Thanks, I was familiar with that thread. Unfortunately not much useful info came out of it. I was hoping for a report from someone who was ultimately successful in building legOS and its tools, as well as building the cross-compilers on a USB OS (...) (22 years ago, 2-Jun-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Promising software
|
|
(...) I went over to the colibri.org website, and while they mention that "colibri currently supports one hardware platform - the Lego RCX brick", they also say that putting it in an RCX is "not useful", and actually tell people to use legOS (...) (22 years ago, 29-May-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Mac OS X
|
|
Brian, Someone recently asked the same question. Check out (URL) am not sure the results of their efforts so good luck! Ed (...) (22 years ago, 1-Jun-02, to lugnet.robotics.rcx.legos)
|