To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 2375 (-20)
  Re: Change the the parity setting of the IR tower.
 
Hi, (...) that depends on which tower you are talking about: - For the serial tower just do it. - For the USB tower it seems you can't, as there is no documented function to do that. Jürgen (21 years ago, 9-Mar-04, to lugnet.robotics.rcx)
 
  Change the the parity setting of the IR tower.
 
Can I change the parity setting of ther IR tower so that I can use 8 data bit, no parity, 1 stopbit instead of 8 databit, odd parity, 1 stopbit. I want to access the IR tower with a serial port that has only the settings 8N1. (21 years ago, 9-Mar-04, to lugnet.robotics.rcx)
 
  Re: [long] Interrupt programming, buggy code
 
On Tue, 2 Mar 2004 17:54:47 GMT "Mark Riley" <markril@hotmail.com> wrote: Hi Mark, (...) [snip] (...) [snip] And that was it, indeed! Many to you, as well as Ralph and Kevin who tried to help me. There shouldn't be much trouble for me I think (if we (...) (21 years ago, 2-Mar-04, to lugnet.robotics.rcx)
 
  Re: [long] Interrupt programming, buggy code
 
(...) Eh... Never mind this bit. I just had a gander at Kekoa's rcxlib and he already handles this correctly in debug_value(). Should've known! :-) Mark (21 years ago, 2-Mar-04, to lugnet.robotics.rcx)
 
  RE: [long] Interrupt programming, buggy code
 
Much better and more accurate answer from Mark - who knows a lot more about GCC that I do :-) I should stick to commenting on assembly language stuff. Ralph (...) <snippage> (21 years ago, 2-Mar-04, to lugnet.robotics.rcx)
 
  Re: [long] Interrupt programming, buggy code
 
Hi Benjamin, When you declare your ISR as an interrupt_handler, GCC terminates the function with an "rte" instead of an "rts". The ROM code that dispatches the interrupt to your function is already doing the rte so your function should not. Here's (...) (21 years ago, 2-Mar-04, to lugnet.robotics.rcx)
 
  Re: [long] Interrupt programming, buggy code
 
(...) All I can give you is guesses. There are pleny of gurus here who will know the answer. Do you know if the display_debug() routine or any of the things it uses depends on the interrupts you are taking over? If default interrupt handler provides (...) (21 years ago, 2-Mar-04, to lugnet.robotics.rcx)
 
  RE: [long] Interrupt programming, buggy code
 
Having fun yet :-) There are a few things you might want to keep in mind when writing ISRs for the RCX... First, avoid calling into the ROM from an interrupt handler. You never know how long they take, and you may in fact be hitting another OCIA (...) (21 years ago, 2-Mar-04, to lugnet.robotics.rcx)
 
  [long] Interrupt programming, buggy code
 
Hi all, I am currently programming the Lego RCX at low-level (plain C) using the GCC cross-compiler for Hitachi H8/300 and Kekoa Proudfoot's LibRCX. In fact, I'm designing exercises for students that learn micro-controller programming. Therefore, I (...) (21 years ago, 2-Mar-04, to lugnet.robotics.rcx)
 
  Re: Get/SetCommTimeouts
 
"Dick Swan" <dickswan@sbcglobal.net> wrote in message (...) I kind of suspected that .. but was not sure. I looked in the source of NQC and brickOS (and some programs I found on the Web) and they all seemed to use these functions regardless. But I (...) (21 years ago, 1-Mar-04, to lugnet.robotics.rcx)
 
  Re: Get/SetCommTimeouts
 
"Shashank Date" <sdate@everestkc.net> wrote in message news:Htuzyn.6qG@lugnet.com... (...) parameters. I (...) The "SetCommTimeout" function only applies to "COMx" serial ports. You are trying to use it on a USB port! (21 years ago, 29-Feb-04, to lugnet.robotics.rcx)
 
  Get/SetCommTimeouts
 
I am trying to write a C program (using VC++ 6.0) to talk to RCX 2.0 on my Win XP (Home Ed) box. Everything seems to be OK except the get/set of Communication parameters. I cannot understand why. I have attached the minimal C program which does (...) (21 years ago, 29-Feb-04, to lugnet.robotics.rcx)
 
  Re: Digitrax DZ123
 
(...) [snip] (...) Hi All, I'm following up on my earlier post (above). I purchased some of these DZ123 decoders and finally got around to installing a couple of them. Street price for me ended up being about $16 (US) each. Installation went (...) (21 years ago, 17-Feb-04, to lugnet.trains, lugnet.robotics.rcx, FTX)
 
  Re: RCXCC and Visual NQC 2001
 
(...) BricxCC works with XP and both IR towers. The USB tower works with XP. You can get just the USB tower from Pitsco, but I do not know if you can get just the USB tower from LEGO. If you get the USB tower from Pitsco you will need to download (...) (21 years ago, 17-Feb-04, to lugnet.robotics.rcx)
 
  Re: RCXCC and Visual NQC 2001
 
(...) Does any program work with XP and the serial tower? I did download BricxCC and it worked, did not try to use any IR tower. Does the USB tower work with XP? Also can I get just the USB tower from LEGO? Thanks and sorry for all the questions. (...) (21 years ago, 17-Feb-04, to lugnet.robotics.rcx, FTX)
 
  Re: multiple motors
 
(...) Actually, I think what he's suggesting is a pretty good idea. I usually test most of my sumo robots this way. Place the robot next to a wall. If you don't want to damage a wall with a big, powerful robot, :) use a book held against the floor (...) (21 years ago, 16-Feb-04, to lugnet.robotics.rcx)
 
  Re: multiple motors
 
(...) My main concern isn't spending money on batteries, that's just something that popped in my head when I was listing our questions I had about the 6 motor solution. My main concern is getting half-way through the tear-down/rebuild process only (...) (21 years ago, 16-Feb-04, to lugnet.robotics.rcx)
 
  Re: multiple motors
 
(...) Thanks Brian, I doubt I will attempt your suggested test of driving into a wall (this scares me very much!) but I hear what you are saying. Based on Steve's reply, I have decided that 6 motors pushing is better than 4. Since I have already (...) (21 years ago, 16-Feb-04, to lugnet.robotics.rcx)
 
  Re: multiple motors
 
(...) It's been my experience that a robot with 6 motors will push harder than a robot with 4 motors. (...) If you're concerned about spending money on batteries, your best bet is to go with a 2 motor robot. If you want to build a really strong sumo (...) (21 years ago, 16-Feb-04, to lugnet.robotics.rcx)
 
  Re: multiple motors
 
(...) Great. My method was to combine the motor outputs down to two axles (left & right) and then do the gearing down/up. I also played with running the "boost" motors at a different gear ratio than the other four, but wasn't sure it would help (...) (21 years ago, 16-Feb-04, to lugnet.robotics.rcx)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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