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 / *3478 (-20)
  RE: disable LNP
 
(...) Doesn't the H8/300 have a mode where you can scan up to 4 channels at once? Ralph (21 years ago, 12-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: disable LNP
 
(...) Mark is correct: I made the following two changes which will cause the sensors to be polled at 1KHz: in systime.c; added "bset #0x5,@_AD_CSR:8"; extern void clock_handler(void); ... sys_nohigh: mov.w #0x5a06,r6 ; reset wd timer to 6 mov.w (...) (21 years ago, 12-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: disable LNP
 
(...) Sorry, nothing has made it to an official release. I think Joseph Woolley has some code where he reduced the sample rate to 1KHz (I think). You might try contacting him about it. Mark (21 years ago, 11-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: disable LNP
 
(...) Have the changes from the above thread been implemented in a release of BrickOS, yet? (reduced sensor sample rate) I need to D/L a new release, but I don't want to rush, because I know I'll have to make changes to some of my existing code. (...) (21 years ago, 10-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: disable LNP
 
(...) Steve, If no IR traffic (of any kind) is occurring, then there is very little overhead associated with LNP being active. In any event, this trivial amount of overhead (in systime.c) can't be disabled. What you really need to be concerned about (...) (21 years ago, 10-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: Linked Lists in BrickOS
 
(...) Michael, This will save you a few keystrokes: pNext = 0; :-) Mark (21 years ago, 10-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: Linked Lists in BrickOS
 
(...) Actually, it turned out that there was some leftover obj or mak files that were messing up the compiler. I purged the directory, and all was well. Thanks for the tip on tabbing. Just wanted to confirm that a BrickOS pointer is only 2 bytes... (...) (21 years ago, 10-Oct-03, to lugnet.robotics.rcx.legos)
 
  disable LNP
 
I need to write a program that can send and receive messages, but there are times when the program is running, that I don't want to waste processor time watching for messages. Is it possible to switch LNP on and off, while a program is running? I (...) (21 years ago, 9-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: Linked Lists in BrickOS
 
(...) If you install cygwin and the cross compilers using my pre-packaged installer ((URL) and my pre-packaged and pre-built brickOS/leJOS installer ((URL) then you should be able to write your brickOS programs using GNU Pascal. (see below) (...) I (...) (21 years ago, 9-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: Linked Lists in BrickOS
 
(...) Yeah, this was the problem. It hadn't occurred to me that BricxCC wasn't saving the file before making. Whoops. (...) Yes, tremendously (...) It looks like this was the problem line. I didn't know the syntax for a pointer to nothing. (in (...) (21 years ago, 9-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: Linked Lists in BrickOS
 
(...) BricxCC can't know for sure what compiler to use unless it can tell what type of file you are editing. It figures this out using the file extension. In order to compile C++ and C code, BricxCC needs the file to have a .cpp or .c extension. (...) (21 years ago, 8-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: INT_MAX in BrickOS
 
(...) Yes, very much, thank you. That explains why I was getting odd results when I set an int to 65535. Now, I know what to do. Thanks Steve (21 years ago, 8-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: INT_MAX in BrickOS
 
(...) Hi Steve, Here's a handy table: TYPE BITS MIN MAX ===...=== char 8 0 255 unsigned char 8 0 255 signed char 8 -128 127 int 16 -32768 32767 unsigned int 16 0 65535 unsigned 16 0 65535 long 32 -2147483648 2147483647 unsigned long 32 0 4294967295 (...) (21 years ago, 8-Oct-03, to lugnet.robotics.rcx.legos)
 
  INT_MAX in BrickOS
 
What's the max value for an INT in BrickOS? Is it +/- 2,147,483,647? (21 years ago, 8-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: Linked Lists in BrickOS
 
(...) Also, add some semicolons to the above like so: class list { private: Node *p_head; }; Mark (21 years ago, 7-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: Linked Lists in BrickOS
 
In lugnet.robotics.rcx.legos, Michael Purvis wrote: <snipped some, added some filler> (...) In order for the above to work.... (...) wouldn't the above need to be uncommented ??? I am not seeing where else you declared pData... but I could be wrong. (...) (21 years ago, 7-Oct-03, to lugnet.robotics.rcx.legos)
 
  Linked Lists in BrickOS
 
Thanks to all that assisted me in getting set up. It turned out to be missing Cygwin packages. My bad. Two problems. Firstly, BrixCC needs to be restarted to compile 'new' code. Is there a way to correct this problem? Also, I'm having trouble (...) (21 years ago, 7-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: Lugnet news server help (sorry)
 
Thanks a lot. I must have missed that message while I was away. "Jeff Van Winden" <jvwinden@sympatico.ca> wrote in message news:HLztp7.o5@lugnet.com... (...) Express. (...) (21 years ago, 30-Sep-03, to lugnet.robotics.rcx.legos)
 
  Simplifying Cygwin & brickOS/leJOS
 
I have been working on creating a single (large) installer for cygwin with everything you need to build brickOS (and leJOS as well). Download one large file (which is, unfortunately, 18.9 MB) and you are ready to go. I've tested it on W2K and it (...) (21 years ago, 29-Sep-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
 
  Re: Ultrasonic Sensor Without Use Of A Microcontroller
 
(...) Hi Vik, I saw that ckt Digram. Try powering that ckt with battery. and use RCX to only read the reading. since you may have spiks on your power line ( which will change your resonance frequency of 555). if that works use .1uF bypass cap as (...) (21 years ago, 29-Sep-03, 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