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 / *2174 (-10)
  Re: USB, Windows, legOS
 
I tried the patch and still get the error "Error 6 GetCommState". Anyone know what this error means and what I can do to correct it? I would really like to get legOS running. (...) (23 years ago, 21-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: Storing Data
 
(...) It was suggested by some of my 'c++' co-workers that this was the case (shared memory was available). However, I don't deal with that in my Visual Basic world. They also suggested there were 'unused' memory blocks in LegOS where data could be (...) (23 years ago, 21-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: Storing Data
 
(...) As there is no memory management, any memory not on the stack is by definition shared between any threads. Concurrency control is up to you however. John A. Tamplin jat@jaet.org 770/436-5387 HOME 4116 Manson Ave 770/431-9459 FAX Smyrna, GA (...) (23 years ago, 21-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: Storing Data
 
(...) What you request is shared memory and shared memory is not a part of legOS. My way to simulate shared mem is to put the two (or more) tasks into one legOS program. Each task is started as a thread by an execi() call, triggered by the user via (...) (23 years ago, 21-Dec-01, to lugnet.robotics.rcx.legos)
 
  LNP: host address
 
Is there a reason to "hardcode" the host address using a define (LNP_HOSTADDR)? Things would be easier for me if I could change the address at run time (when calling lnp_init). Is it safe to replace the defines by a variable? Eric (23 years ago, 21-Dec-01, to lugnet.robotics.rcx.legos)
 
  Proximity
 
Next question: Does any one have a proximity routne (code) I can review (steal) using LegOS, a light sensor, and the IR port? I've used the NQC stuff, but now I've moved up to LegOS. I haven't been able to find the right commands for the IR port. (...) (23 years ago, 20-Dec-01, to lugnet.robotics.rcx.legos)
 
  Storing Data
 
When using LegOS (a most excellent creation, btw) is it possible to store a value and use it in different programs? Actually, I'm sure it is, but how would someone do it? I want to have one program to configure my light sensor, and use those values (...) (23 years ago, 20-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: Serial Port (IR Tower) communication procedures with LegOs
 
If you mean standard firmware message, I think you should use my remote control patch for legOS025, you can find them at (URL) luck! Zhengrong (...) (23 years ago, 19-Dec-01, to lugnet.robotics, lugnet.robotics.rcx.legos)
 
  Re: How to get interval of time
 
(...) correct? Yep, that's how I do it & it seems to work. ROSCO (23 years ago, 18-Dec-01, to lugnet.robotics.rcx.legos)
 
  How to get interval of time
 
In NQC, I can use ClearTimer(0) and Timer(0) to get interval of time, how can I do it in legOS? I used t1 = sys_time, then t2 = sys_time, so interval = t2 - t1, is it correct? Zhengrong (23 years ago, 18-Dec-01, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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