To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 5463
  Mindstorms RIS RCX problem
 
I'm programming the RCX using the Mindstorms RIS software and running into a problem I can't figure out. My program has about 15-20 TONE commands to try and play a song. It downloads to the RCX without error, but when I run it it only plays about (...) (25 years ago, 30-Jun-99, to lugnet.robotics)
 
  Re: Mindstorms RIS RCX problem
 
(...) I do not know how to solve your problem. But try looking at Gordon's Brick Programmer at: (URL) as easy and faster to use than Mindstorms and can do much more. Good luck! Marcus --- Marcus Fischer Mellbin E-mail: marcus NO-SPAM-AT (...) (25 years ago, 30-Jun-99, to lugnet.robotics)
 
  Re: Mindstorms RIS RCX problem
 
The problem is that each tone is queued into a buffer and the firmware automatically processes the next intruction in the program. Since the next instruction is another tone, the queue starts filling faster than can be processed, since each tone (...) (25 years ago, 30-Jun-99, to lugnet.robotics)
 
  Re: Mindstorms RIS RCX problem
 
Just an add-on to this. You can use a "wait" of a value that equals the total tone duration for several tones. You will find that using "wait" after each tone will limit the number of icons allowed in your program. Bob Fay Laurentino Martins (...) (25 years ago, 30-Jun-99, to lugnet.robotics)
 
  Re: Mindstorms RIS RCX problem
 
Sounds like you have some other software trying to use you com port. Have you tried swapping ports? My battery is still good after many months and it is plugged in all the time. Brian H. Nielsen <70401.2635@compuserve.com> wrote in message (...) (25 years ago, 30-Jun-99, to lugnet.robotics)
 
  Re: Mindstorms RIS RCX problem
 
Since he can use the tower without *any* problem, my guess is that the problem is not with the COM port, but with the tower itself. To my knowledge no one ever came up with a way to keep the tower alive by software besides sending some data at (...) (25 years ago, 30-Jun-99, to lugnet.robotics)
 
  Re: Mindstorms RIS RCX problem
 
(...) Thanks. I'll try it. I was expecting that the duration value in the TONE command would have a built in WAIT for that amount of time, but buffering the audio allows other operations to continue. Am I right in infering that the buffer is only (...) (25 years ago, 30-Jun-99, to lugnet.robotics)
 
  Re: Mindstorms RIS RCX problem
 
Brian H. Nielsen <70401.2635@compuserve.com> wrote in message news:FE5ssx.LID@lugnet.com... (...) If I remember the limit for icons is 15 or 16. You can create a "my command" with the 15 or 16 icons and use it as one icon in your program. The (...) (25 years ago, 1-Jul-99, to lugnet.robotics)

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