 | | How to turn LEDs on/off ?
|
|
What is the command to turn an LED on or off ? I've looked through the kernel files and I don't see anything that seems to do this. (22 years ago, 9-Aug-04, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: Add motor driver to RCX
|
|
(...) I've drawn a circuit to control more powerful motors (sadly in Visio format at the moment, though I my convert to jpeg later to post it). Since the H-bridges have flywheel diodes across the transistors, this will short the motor when the (...) (22 years ago, 5-Aug-04, to lugnet.robotics.rcx)
|
| |
 | | Re: OS X Complier problems solved--now struggling with BrickOS
|
|
(...) Periodically I pick up this project again, get frustrated and give up. Then a few more months pass and I pick it up again... I seemed to have more success with the cross compiler this time around. BrickOS gave me a little trouble (strange (...) (22 years ago, 8-Aug-04, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: bitwise manipulations in C
|
|
oops my bad I meant to thank Jim not Steve, sorry, what you sent me Jim was just what I was looking for, well minus some examples in nqc. But I now have a better understanding of it. Thanks, Scott (...) ___...___ Dont just search. Find. Check out (...) (22 years ago, 7-Aug-04, to lugnet.robotics)
|
| |
 | | Re: bitwise manipulations in C
|
|
Hi Thanks for all the responses, especially yours steve, they gave me lots of ideas. Does anybody have code examples of using bits and bit manipulations with NQC? Thanks, Scott ___...___ On the road to retirement? Check out MSN Life Events for (...) (22 years ago, 7-Aug-04, to lugnet.robotics)
|
| |
 | | Re: bitwise manipulations in C
|
|
(...) Hi Scott, Steve summed it up well. Here's a fairly simple example: (URL) processes data from a LEGO remote control, which arrives every few ms as a "bit mask", with each 1 bit representing a pressed key on the remote. If you look in (...) (22 years ago, 6-Aug-04, to lugnet.robotics)
|
| |
 | | Re: bitwise manipulations in C
|
|
(...) There really isn't a lot to tell. All integers (short's, chars) in C are considered as a bunch of bits. You can use the '&', '|', '^', '~', '<<' and '>>' operators to AND, OR, XOR, INVERT, Up-shift and Down-shift all of the bits at once. (...) (...) (22 years ago, 6-Aug-04, to lugnet.robotics)
|
| |
 | | bitwise manipulations in C
|
|
Hi, Can anybody tell me about bitwise manipulations or point me to a site that explains what it is, what its used for, and how to use it? thanks, Scott ___...___ Express yourself instantly with MSN Messenger! Download today - it's FREE! (URL) (22 years ago, 6-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Beginners questions
|
|
Thanks James and the others who provided feedback. A couple of the links provided were new and did provide some good info. My team became very proficient with the RIS environment and are doing well learning Robolab as long as they stay on the beaten (...) (22 years ago, 5-Aug-04, to lugnet.robotics.rcx.robolab, FTX)
|
| |
 | | Re: challenge: LEGO copier
|
|
(...) Actually, I think it would be a good idea to use pneumatics to push the bricks together. Any resistance met by pneumatics simply increases the air pressure required to keep pushing, rather than actually damaging any pieces. (...) Why do you (...) (22 years ago, 6-Aug-04, to lugnet.robotics)
|
| |
 | | Re: challenge: LEGO copier
|
|
(...) One could cheat (if you consider it that) on this pretty easily, though. Instead of hoppers containing a jumble of bricks, each feedstock source could be a neat queue of bricks in a constant orientation. Grabbing the next brick from such a (...) (22 years ago, 6-Aug-04, to lugnet.robotics)
|
| |
 | | Re: challenge: LEGO copier
|
|
(...) No - you'd just use a touch sensor that you could lower down onto the model you are 'scanning' - it would be easy enough to measure whether there was a hole or a brick. (...) The Lego camera isn't really much use because it can't talk to the (...) (22 years ago, 5-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Add motor driver to RCX
|
|
(...) The amplifiers definitely won't work. I am bringing a demo 'bot to BrickFest which uses the buggy motors with an RCX. The RCX actually drives regular technic gear motors which drive a cam shaft which operates the buttons on the 9v (6 x AA) (...) (22 years ago, 5-Aug-04, to lugnet.robotics.rcx)
|
| |
 | | Re: challenge: LEGO copier
|
|
(...) Almost impossible. Personally, I'd have a hard time building this with my hands, much less building a robot to do it. It could easily require three grippers just to put the pieces together. Definitely beyond anything I'd be interesting in (...) (22 years ago, 5-Aug-04, to lugnet.robotics)
|
| |
 | | Re: challenge: LEGO copier
|
|
(...) Why would that be impossible? You'd start by building up the sides; when you've done row B, then you can attach the block in row C, followed by the one in row D. So yes, this means the robot has to be able to move back and forth; it can't just (...) (22 years ago, 5-Aug-04, to lugnet.robotics)
|
| |
 | | Re: Multi-RCX Communication
|
|
(...) legOS allows this with a networking protocol. leJOS allows this if you're willing to work with Jini. Both of these require replacing the firmware with either C or Java. You can build your own networking protocol in any language, really. (...) (22 years ago, 5-Aug-04, to lugnet.robotics.rcx.legos, FTX)
|
| |
 | | Re: RIS 2.0 upgrade CD? (part 3805)
|
|
(...) 2.0 adds new programming features which are mostly noticeable in the graphical programming environment that LEGO supplies. If you're using a different language, though, then the differences will be handled by the compiler. NQC was updated to (...) (22 years ago, 5-Aug-04, to lugnet.robotics.rcx, FTX)
|
| |
 | | Re: Add motor driver to RCX
|
|
(...) 1) I'm not sure these are currently available 2) They only give you independent control of two motors per RCX output (but you can connect motors together) 3) They won't work with the 8366 motors (they were designed before those were available) (22 years ago, 5-Aug-04, to lugnet.robotics.rcx)
|
| |
 | | Re: challenge: LEGO copier
|
|
(...) I'm sorry, but I find this VERY funny. :) But you've already said how little you really know about building, so I guess it's OK. A robot that could copy a continuous model is something that would be very do-able. On the other hand, if you (...) (22 years ago, 5-Aug-04, to lugnet.robotics)
|
| |
 | | Re: challenge: LEGO copier
|
|
I think you should start easy, with something like a mosaic copier. (22 years ago, 5-Aug-04, to lugnet.robotics)
|