 | | Controlling the RCX from a PC
|
|
Hi, I need help on how to control the RCX from a pc, for instance to issue commands on the pc to accelerate or decelarate a car. Please I am not using legOS or BrickOS Can someone help or point me to a source of help Thanks Michael mfbosu@yahoo.com (24 years ago, 2-Apr-03, to lugnet.robotics.rcx)
|
| |
 | | RCX ROM
|
|
Hi, I am trying to add a serial/IR port communication library to an RTOS. I am using the rom functions, can someone help me with the passing of the arguments: for instance what do i pass for this function: byte send_btes(short code, byte opcode, (...) (24 years ago, 2-Apr-03, to lugnet.robotics.rcx)
|
| |
 | | Re: strange motor behaviour
|
|
(...) The problem is that the upper memory area (0xf000-0xf800) is connected to both RAM and motor output. Every byte written here is also interpreted as motor command. The latest CVS version of BrickOS has fixed this (this memory is written only (...) (24 years ago, 2-Apr-03, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: strange motor behaviour
|
|
(...) (this should be your user programm of course) (...) and i've been a bit too quick, it should be 40*40*1 (you're allocating char's), still thats' about 1.5kByte, that is, 1/10th of the memory available to you as user, so the following reasoning (...) (24 years ago, 2-Apr-03, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: strange motor behaviour
|
|
(...) well, the RCX only has 32Kbyte of memory of wich half is used by brickOs the remaining half should fit you user programm and all runtime stacks and heaps, so allocating 40*40*2Bytes(the minimum for a pointer in an 32Kbyte adresspace) will need (...) (24 years ago, 2-Apr-03, to lugnet.robotics.rcx.legos)
|