Closed GoogleCodeExporter closed 9 years ago
Thanks for the concise, complete report! The way this should be fixed is by
increasing the value in digital.py here:
http://code.google.com/p/nxt-python/source/browse/trunk/nxt/sensor/digital.py#84
Set it to 30 or so and see if it solves your problem, and if so, experiment
with different values until you find the threshold. If not, you might put a
small delay (1-5ms) in the loop instead of the pass and see if that helps. Let
me know how it goes and I'll see about fixing this in the trunk. Thanks!
Original comment by marcus@wanners.net
on 5 Dec 2011 at 8:42
Hi,
I just got my new toys yesterday, so I'm quite teh n00b.
Just wanted to let you know I encountered the same error on Ubuntu 11.10.
Altering the for-loop (in digital.py#84) to run to 13 fixed the problem for me.
On 12 it still times out.
Original comment by jovliegen
on 27 Dec 2011 at 6:42
Bumping to 30 in trunk, will add to next bugfix. If the OP could please look at
this again and let me know whether it's fixed, I would appreciate it.
Original comment by marcus@wanners.net
on 22 Mar 2012 at 11:49
Original issue reported on code.google.com by
jokeg...@gmail.com
on 4 Dec 2011 at 7:56