Page 7 of 7
Posted: Thu Jun 18, 2009 2:45 pm
by The Robman
Hey Vicky,
Here's how you can address Friday's most recent issue.
Rather than delaying for a single fixed amount of time, you could delay for a much shorter amount of time but put it in a repeat loop.
Something like this...
set loop count to 4
@loop
test if button is still held
if not, exit loop
delay
decrement loop count
if loop count not zero, jump back to @loop
Posted: Thu Jun 18, 2009 4:12 pm
by vickyg2003
Rob I see your solution would be more elegant and probably a few bytes less, than the few bytes less than the solution I provided.
Friday
I'll come back with Rob's solution tomorrow.
Posted: Thu Jun 18, 2009 4:16 pm
by The Robman
I can't claim credit for it though because I've seen it before in either some John Fine code or some UEI code.
Posted: Thu Jun 18, 2009 7:06 pm
by vickyg2003
This should be more responsive. Its a smaller upgrade too.
This upgrade sends a second full frame after about a second.
Upgrade protocol 0 = 01 FF (HCS08) Tvix 5000 DELAYED REPEAT (PB v4.01)
20 15 23 47 11 CD 4C 08 08 01 21 03 45 01 21 01
1A FF D7 11 A7 08 CB 3F 62 3F 63 6E 03 AA CD FF
5C 45 11 00 CD FF 74 CD FF 92 24 0B 3B A3 F2 6E
4D A3 1D AB CC FF 5C 81
End
However, we never did determine if the TVIX would still be listening after that second delay.
Upgrade protocol 0 = 01 FF (HCS08) Tvix 5000 DELAYED REPEAT (PB v4.01)
20 15 23 47 11 CD 4C 08 08 01 21 03 45 01 21 01
1A FF D7 11 A7 08 CB 3F 62 3F 63 6E 03 AA CD FF
5C 45 11 00 CD FF 74 CD FF 92 24 09 3B A3 F2 6E
4D A3 CC FF 5C 81
End
This upgrade only sends the repeat after 1 second. I don't think this would work, but if it did it would a be a better choice because there wouldn't be that problem with the Non-Repeating (1,2,3,4,5,6,7,8,9,0,Menu,Pause,Stop......) type keys getting the second full frame.
Posted: Wed Jun 24, 2009 12:37 pm
by friday
vicky,
the 2nd dont send any repeat!
but the first is much better as the last working. now i can do fast single-pushes. and every one of them is working.
for me now it is perfect and maybe we can close here?
you all did a great job for me after the past months and 7 pages are quite enough for my problem
dont waste time for that, for me it is
perfect
thx rob, vicky, mike and all others who help
ralf
Posted: Wed Jun 24, 2009 4:53 pm
by vickyg2003
Friday, thank you for taking the time to test #2. That helps me understand how equipment works. I didn't think it would still be listening for the repeats, now I know.
The Friday Special files are located
here.