|
| | Re: interrupts for buttons
|
| Sorry about the long delay, I've been away. Demo.c is inaccessable because it was written for 0.1.7 and I've not yet had the time to update it. Unfortunately, this is going to be a semi-major task and so will probably be one of the last things to (...) (24 years ago, 2-Jul-00, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.403) |
|
|
| long (score: 1.403) |
|
| | Re: Design by Contract (long post)
|
| (...) I agree it seems to be the wrong way round. That's the standard implementation. NDEBUG seems to stand for "No debug". One advantage of making it negative, is that you get the assert()s if you don't do anything (ie dont define NDEBUG). BTW, (...) (21 years ago, 8-Jan-04, to lugnet.robotics.rcx, FTX)
| |
| long (score: 1.403) |
|
| | Re: Design by Contract (long post)
|
| Thanks, Tim. I haven't used the #x idiom myself - I like it. Your implementation with the boolean: (...) Will need an extra level of parenthesis surrounding the bool so that its declaration scope is made local. You can certainly go to town with this (...) (21 years ago, 10-Jan-04, to lugnet.robotics.rcx, FTX)
| |
| long (score: 1.403) |
|
|
| long (score: 1.403) |
|
| | Non Robot uses of the RCX
|
| Hello, Over in k12.ed.science a poster wanted to perform an experiment where he would time how long it took various objects to fall when dropped inside a long tube. He was looking for information regarding timing circuits, how to build one, where to (...) (23 years ago, 19-Aug-01, to lugnet.robotics.rcx)
| |
| long (score: 1.403) |
|
|
| long (score: 1.403) |
|
|
| long (score: 1.403) |
|
|
| long (score: 1.403) |
|
| | help building gcc cross-compiler (long)
|
| I'm following Matthias Erhmann's excellent BrickOS Linux Installation HOWTO, and I've hit a snag. When executing the "make" command in step 2.2 to make the gcc cross-compiler, I got the error below. I commented out the first three lines of the (...) (20 years ago, 11-Oct-04, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.403) |
|
| | Re: signals / legOS internals
|
| I misspoke when I said before that we have semaphores. What I meant was mutexes. We have had mutexes for quite awhile. Certainly long before I started on this signal thing. I started this long enough ago that I don't remember what particular problem (...) (25 years ago, 23-Jun-99, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.403) |
|
| | RE: fast firmware downloader
|
| (...) I tried to do a DJGPP build of binutils and it didn't work for me. I really didn't want to spend more time futzing with the tools, and I was already using Cygwin, so I used one of the precompiled toolsets. I think you are just a lazy typer, (...) (25 years ago, 30-Oct-99, to lugnet.robotics.rcx)
| |
| long (score: 1.403) |
|
| | Incorrect result
|
| This problem, unlike the other, is definitely not a result of my eyes/brain being tired or something. I thoroughly displayed every value before and after evaluation and the result is ***WRONG***. Here is the code and the values: typedef struct { int (...) (23 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.403) |
|
|
| long (score: 1.403) |
|
| | Re: license question
|
| The short answer is yes. The long answer... In general, free software licenses are self-compatible, meaning that you can take portions of software released under that license and create a different product using that same license. In fact, this is (...) (24 years ago, 9-Aug-00, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.403) |
|
|
| long (score: 1.403) |
|
| | Re: Revisions to RcxCC
|
| (...) Scout support still has a long way to go in many ways, imho. A lot works but I still haven't implemented correct scout support in several of the dialogs. I've tried the command line option for Scout (/RCX=2) and it definitely works on my (...) (23 years ago, 7-May-01, to lugnet.robotics.rcx.nqc)
| |
| long (score: 1.403) |
|
|
| long (score: 1.403) |
|
| | Re: Process Control with RCX
|
| Here is the twenty foot long process on the main RCX for the printer. https://www.dropbox....X.jpg?dl=0 I wanted to use sub routines and loop the process so the program could look elegant but never got it to work. Here each color has it's own put (...) (8 years ago, 20-Feb-17, to lugnet.robotics.rcx)
| |
| long (score: 1.403) |
|
|
| long (score: 1.403) |