#3 Fix double bounce issue.

Đã đóng
%! (template.HTML=3 năm trước cách đây)đang mở bởi david · 3 ý kiến

Some times we get a double bounce signal... I'm not sure what is causing that though... the code looks like it should send the correct signal. (But obviously it does not)

Some times we get a double bounce signal... I'm not sure what is causing that though... the code looks like it should send the correct signal. (But obviously it does not)
David Thielemann đã nhận xét 3 năm trước cách đây
Chủ sở hữu

In [fbbc499375] I merged the CODE_DELAY into a const int variable. (This should make things easier to change if needed)

In [fbbc499375] I merged the CODE_DELAY into a `const int` variable. (This should make things easier to change if needed)

Or I was wrong. Maybe the delay between repeating codes is too long?

My guess is, TV got the command, waited (ok, I didn't see the command again), then saw your "repeat" and thought -- Ok! Let's do it again!

Also, there are usually commands for "repeat" -- like key repeat.

Run the "learning" code, and use/hold down the volume up/down.
You'll see the comamnds .. then you'll see the "repeat" key FFFFFF. It might be worth learning that too, rather then trying to send the same command multiple times -- while fighting with the TV dup-check.

Or I was wrong. Maybe the delay between repeating codes is too __long__? My guess is, TV got the command, waited (ok, I didn't see the command again), then saw your "repeat" and thought -- Ok! Let's do it again! Also, there are usually commands for "repeat" -- like key repeat. Run the "learning" code, and use/hold down the volume up/down. You'll see the comamnds .. then you'll see the "repeat" key FFFFFF. It might be worth learning that too, rather then trying to send the same command multiple times -- while fighting with the TV dup-check.
David Thielemann đã nhận xét 3 năm trước cách đây
Chủ sở hữu

In [991e33a208] I reduced the CODE_DELAY value, and so far I have yet to see the TV have anymore issues.

The movie box has the "repeat" key FFFFFF. The TV from what I gathered did not, it sends a command repeated but I think my command sending was to slow so the TV was getting the command then waited then saw it again.

I think this issue is fixed... but again if need be I can/will change the CODE_DELAY again.

In [991e33a208] I reduced the CODE_DELAY value, and so far I have yet to see the TV have anymore issues. The movie box has the "repeat" key FFFFFF. The TV from what I gathered did not, it sends a command repeated but I think my command sending was to slow so the TV was getting the command then waited then saw it again. I think this issue is fixed... but again if need be I can/will change the CODE_DELAY again.
Đăng nhập để tham gia bình luận.
Không có Milestone
Không có người được phân công
2 tham gia
Đang tải...
Hủy bỏ
Lưu
Ở đây vẫn chưa có nội dung nào.