| | Respondre el missatge: Use of lnp_addressing_write() in an RCX program.
|
|
You must send the packet to port 0 of the destination. The dest address is conformed by the address in the upper 4 bits and the port in the lower 4 of the char. So if you put address = 6 you are saying -> host=0 port=6 and you must send to host=6, (...) (21 years ago, 27-Feb-04, to lugnet.robotics.rcx.legos)
|
|
| | Re: Spurious bad readings from sensors
|
|
(...) Could it be noise getting into the analog power supply? If you're switching between brake and full power with the motor ports, it seems possible that some spikes could get through to the A/D converter. You might be able to test this by (...) (21 years ago, 25-Feb-04, to lugnet.robotics.rcx.legos)
|
|
| | Re: Spurious bad readings from sensors
|
|
Hi Mark, Thanks for the help. In Steve's legway code he reads from LIGHT_1 and LIGHT_3 (even if there is no sensor hooked to LIGHT_3). When I was running his code with instrumentation for both sensors, I had nothing hooked to SENSOR_3, and I still (...) (21 years ago, 25-Feb-04, to lugnet.robotics.rcx.legos)
|
|
| | USB tower/Linux/Firmdl not working nicely together
|
|
Hi, Delighted I was to see that the USB lego tower driver was accepted into the Linux kernel tree, so I downloaded linux 2.6.2 and installed the lego driver with it. It checks in perfectly, no problem with the driver. But, when I try to upload (...) (21 years ago, 25-Feb-04, to lugnet.robotics.rcx.legos)
|
|
| | Re: Spurious bad readings from sensors
|
|
(...) Because of the way BrickOS uses interrupts to handle active sensors, it's possible for sensors to be deprived of power for 300us or more, though typically the interval is only 30us or so. This is due to long interrupt latencies in BrickOS that (...) (21 years ago, 25-Feb-04, to lugnet.robotics.rcx.legos)
|