 | | Re: Rechargeable batteries and the RCX
|
|
Thanks for asking this question. I've been meaning to do so myself. One of the books shows a modified RCX using a 9.6v RC battery pack. Another (or possibly the same one) talks about someone who increased the voltage of rechargables by using 5 AA, 1 (...) (23 years ago, 13-Jul-02, to lugnet.robotics)
|
|
 | | Re: How do I switch other devices with my RCX.
|
|
(...) Or can't this be done with just one switching device? Thanks in advance! Remko (23 years ago, 13-Jul-02, to lugnet.robotics)
|
|
 | | Re: detecting memory leaks
|
|
In case anyone attempts to use the mm_defrag() posted previously... you will need the following update to mm_try_join() //! check for free blocks after this one and join them if possible /* \param ptr pointer to size field of current block \return (...) (23 years ago, 13-Jul-02, to lugnet.robotics.rcx.legos)
|
|
 | | Re: detecting memory leaks
|
|
Jason, Excellent points! I like where this is going. "Jason Clark" wrote <snip> (...) See below. (...) then (...) Yes, it uses mm_try_join() --- here it is: //! defragment free blocks /*! use mm_try_join on each free block of memory */ void (...) (23 years ago, 12-Jul-02, to lugnet.robotics.rcx.legos)
|
|
 | | RE: Rechargeable batteries and the RCX -- Firmware error
|
|
Our class uses NiMH batteries. Haven't seen any problem... but we do have one problem off and on and I guess that could be related. On one RCX, we do get an error that the firmware needs to be downloaded quite often, and the battery level on the RCX (...) (23 years ago, 12-Jul-02, to lugnet.robotics)
|
|
 | | Re: Rechargeable batteries and the RCX
|
|
(...) Definitely use NiMH's. NiCd's are a problem - they only generate 1.2 volts instead of the usual 1.5 of disposable batteries - and I've found that this *sometimes* causes problems with the RCX. I'm not sure exactly what the situations where it (...) (23 years ago, 13-Jul-02, to lugnet.robotics)
|
|
 | | Rechargeable batteries and the RCX
|
|
Does anyone have any comments about using rechargeable batteries in the RCX? Has anyone had any bad experiences with this? Can anyone recommend whether NiMH is better or worse than NiCd? Thanks. Laura (23 years ago, 12-Jul-02, to lugnet.robotics)
|
|
 | | Re: MIBO Kits, Any interest?
|
|
(...) That would make more sense to me. I have a complete RIS and Jim Sato's book, so 'everything else' would probably be interesting. I think most potential buyers wouldn't balk at the idea of ending up with a few inexpensive pieces that duplicate (...) (23 years ago, 12-Jul-02, to lugnet.robotics)
|
|
 | | AFOL Meetup?
|
|
Dunno if any Lego fans out there have heard about this new 'MEETUP' internet service, I went to a meeting that they arranged a couple of weeks ago on a different subject and it was a great success. The idea is that their web site suggests a day and (...) (23 years ago, 13-Jul-02, to lugnet.robotics)
|
|
 | | Re: detecting memory leaks
|
|
(...) Please, post. (...) I'm guessing you defrag using mm_try_join()? malloc() uses this to defrag the beginning of the pool until it finds a big enough block (which can then be split again if its too big); Defragging during idle would save this (...) (23 years ago, 12-Jul-02, to lugnet.robotics.rcx.legos)
|
|
 | | Announcing BricxCC release 3.3.5.6
|
|
(...) I was updating the website earlier today which may have caused some disruption. The link worked for me a few minutes ago. This is as good a time as any to post about my new release of BricxCC. Version 3.3.5.6 fixes an Access Violation during (...) (23 years ago, 12-Jul-02, to lugnet.robotics.rcx, lugnet.robotics.rcx.nqc, lugnet.robotics.scout)
|
|
 | | Re: anyone know how to check free space on RCX?
|
|
(...) Thanks for conducting the test... being 200+ miles away from my RCX this was bugging me :). My sources (gcc-2.95.2) have the same #define... but with the following about 120 lines earlier: /* Make int's 32 bits. */ #define TARGET_INT32 (...) (23 years ago, 12-Jul-02, to lugnet.robotics.rcx.legos)
|
|
 | | RE: Gutting an optical mouse - Part I
|
|
(...) Gee, that's too bad. That means there are only three states that can be distinguished. It seems like they could have easily increased the resolution by 1/3, without any cost. (23 years ago, 12-Jul-02, to lugnet.robotics)
|
|
 | | Re: anyone know how to check free space on RCX?
|
|
John A. Tamplin, Jason Clark, Jochen Hoenicke and Michael J Ash: Thank you all for addressing these issues! It all make sense after reading the preceeding messages. I appologize for causing confusion. I am glad, however, to get it straight. ??So (...) (23 years ago, 12-Jul-02, to lugnet.robotics.rcx.legos)
|
|
 | | detecting memory leaks
|
|
In the thread "anyone know how to check free space on RCX?" the issue of checking for memory leaks was raised. I wanted to mention that I have some code that may help in that area. I wrote a function for the memory manager called mm_defrag() It (...) (23 years ago, 12-Jul-02, to lugnet.robotics.rcx.legos)
|
|
 | | RE: Gutting an optical mouse - Part I
|
|
(...) I thought this was an error to, so I spent about an hour triplechecking my findings. Bear in mind that the scroll wheel doesn't need 7.5-degree-per-step accuracy, which is what that extra bit would give. This is a chart of the data I collected (...) (23 years ago, 12-Jul-02, to lugnet.robotics)
|
|
 | | Re: MIBO Kits, Any interest?
|
|
(...) ...or at least if you looked at 100 people who might have the desires, abilities and budget to build the beast, you'd see 100 different inventory needs. Some might have one RIS, others two, others one - plus a bunch of ad-hoc parts. I think (...) (23 years ago, 13-Jul-02, to lugnet.robotics)
|
|
 | | Re: anyone know how to check free space on RCX?
|
|
(...) The header is ok, but int is 2 bytes = 16 bit. You can check this with this highly optimized program: #include <conio.h> int main(int argc, char *argv[]) { lcd_int( sizeof( int ) ); for(;;) ; return 0; } And in the kernel sources, mm.c says (...) (23 years ago, 12-Jul-02, to lugnet.robotics.rcx.legos)
|
|
 | | Re: anyone know how to check free space on RCX?
|
|
(...) This can't be right. I'm about 99% sure that all of the ints I've used with my legOS programs have been 2 bytes. When using LNP to send RCX ints to a PC, for example, you have to use short on the PC end of things to make it all work right. (...) (23 years ago, 12-Jul-02, to lugnet.robotics.rcx.legos)
|
|
 | | Re: Gutting an optical mouse - Part I
|
|
(...) It appears to me there is a slight mistake here. According to this, there is no way to distinguish between the first row and the second. I assume the second should be 10, so it would go 00 10 11 01. Steve (23 years ago, 12-Jul-02, to lugnet.robotics)
|