Posted on 2008-11-15 16:01:52-08 by ae3wp in response to 9287
Re: TH-D7A(G) Questions
I am afraid the memory is going, because I didn't have the code in front of me when I wrote my original post, I made some errors.

b. The X1 parameter returns a 1 if the radio can transmit on the selected freq., a 0 if transmission is blocked on freq. outside of legal amateur band.

should read:
b. The X1 parameter returns 0 if the Repeater offset is turned off(simplex), a 1 if using a POSITIVE offset, and 2 if using a NEGATIVE offset.

I am getting the same return values using the SFT(shift) command, so either the G model has changed the return values, or the Constants POSITIVE and NEGATIVE need to be changed.

This paragraph:
Also, the %REV_STEPS and %REV_TONES calls to the Step's and Tone's hashs were not working for me. I changed the lines to $REV_STEPS = reverse(%STEPS); and $REV_TONES = reverse(%TONES); accordingly and they work for me now. I can't say whether this is better or even correct, but it works for me.
should read:
Also, the %REV_STEPS and %REV_TONES calls to the Step's and Tone's hashs were not working for me. I changed the lines to $REV_STEPS = reverse %STEPS; and $REV_TONES = reverse %TONES; accordingly and they work for me now. I can't say whether this is better or even correct, but it works for me.

Bill AE3WP
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.