Shop Learn
Sumobot WX tutorial code for Ir takes 20 sec to update - problem??? — Parallax Forums

Sumobot WX tutorial code for Ir takes 20 sec to update - problem???

From this tutorial: learn.parallax.com / tutorials / sumo WX / Ir detect, using this download file: SumoBot-Front-IR-Terminal.svg.

Values displayed on terminal are correct. But update is every 20+ seconds. In code I can only see delays of about 100 ms. (Contents of the green "User Defined Code" are a mystery.) Then after first few displays, the boilerplate labels don't appear correct. Then only some or both values appear.

Problem is worse for lower values (close reflector) than higher values (no reflector).

Any idea of how to get sensing down to < 1 sec?

I once had something like this where baud did not match and every now and then they came into phase to transmit. But I don't see buad setting for terminal blocks or for terminal.

I re-seated both Tx and Rx components.

Thanks.

Sign In or Register to comment.