¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

JackAl LSB/USB Button


Rick Price
 

Hi Jack,
Now that field day is over with any chance for you to take a look at the LSB/USB Button code.? At present all it does is change the button message without changing the mode.? I have tried several things in the code to force it to 40 meters USB but without success. The fix must be a lot above my pay grade or I'm just not seeing what I need to do to fix it..

Rick Price
KN4AIE


 

I'll take a look at it, but it won't be until late Thursday.

Jack, W8TEE

On Wednesday, June 26, 2019, 2:24:45 PM EDT, Rick Price <rickprice48@...> wrote:


Hi Jack,
Now that field day is over with any chance for you to take a look at the LSB/USB Button code.? At present all it does is change the button message without changing the mode.? I have tried several things in the code to force it to 40 meters USB but without success. The fix must be a lot above my pay grade or I'm just not seeing what I need to do to fix it..

Rick Price
KN4AIE


 

In the MyButtons.cpp file, try making these changes:

void MyButtons::ChangeSidebands()
{
? if (whichSideband == USINGLSB) {???????????? // It's now LSB
??? RedrawLabel(LSB, (char *) "LSB");
??? isUsbVfoA = 0;
??? whichSideband = USINGLSB;
? } else {??????????????????????????????????? // It's now USB
??? RedrawLabel(LSB, (char *) "USB");
??? isUsbVfoA = 1
??? whichSideband = USINGUSB;
? }
? DrawButton(LSB, 1);
}

Let me know if it works. My JackAl is "on loan" right now.

Jack, W8TEE

On Wednesday, June 26, 2019, 2:49:19 PM EDT, jjpurdum via Groups.Io <jjpurdum@...> wrote:


I'll take a look at it, but it won't be until late Thursday.

Jack, W8TEE

On Wednesday, June 26, 2019, 2:24:45 PM EDT, Rick Price <rickprice48@...> wrote:


Hi Jack,
Now that field day is over with any chance for you to take a look at the LSB/USB Button code.? At present all it does is change the button message without changing the mode.? I have tried several things in the code to force it to 40 meters USB but without success. The fix must be a lot above my pay grade or I'm just not seeing what I need to do to fix it..

Rick Price
KN4AIE


Rick Price
 

¿ªÔÆÌåÓý

Hi Jack,
Thanks for taking a look at the issue.? Getting the errors in the attached document when compiling. Also noticed a missing semicolon on the second isUsbVfoA? = 1?entry.? Should it not be added? The isUsbVfoA is declared in the Si5351.cpp as a char.???Line 63?? ??char ?isUsbVfoA? = 0,? isUsbVfoA = 1;? Guessing, ?but does it need to be added to the JackAl.h?
?
Rick
KN4AIE


From: [email protected] [mailto:[email protected]] On Behalf Of jjpurdum via Groups.Io
Sent: Friday, June 28, 2019 2:34 PM
To: [email protected]
Subject: Re: [JackAl] JackAl LSB/USB Button

In the MyButtons.cpp file, try making these changes:

void MyButtons::ChangeSidebands()
{
? if (whichSideband == USINGLSB) {???????????? // It's now LSB
??? RedrawLabel(LSB, (char *) "LSB");
??? isUsbVfoA = 0;
??? whichSideband = USINGLSB;
? } else {??????????????????????????????????? // It's now USB
??? RedrawLabel(LSB, (char *) "USB");
??? isUsbVfoA = 1
??? whichSideband = USINGUSB;
? }
? DrawButton(LSB, 1);
}

Let me know if it works. My JackAl is "on loan" right now.

Jack, W8TEE

On Wednesday, June 26, 2019, 2:49:19 PM EDT, jjpurdum via Groups.Io <jjpurdum@...> wrote:


I'll take a look at it, but it won't be until late Thursday.

Jack, W8TEE

On Wednesday, June 26, 2019, 2:24:45 PM EDT, Rick Price <rickprice48@...> wrote:


Hi Jack,
Now that field day is over with any chance for you to take a look at the LSB/USB Button code.? At present all it does is change the button message without changing the mode.? I have tried several things in the code to force it to 40 meters USB but without success. The fix must be a lot above my pay grade or I'm just not seeing what I need to do to fix it..

Rick Price
KN4AIE


 

As I said, I don't have my JackAl here right now, so I don't have the board or the Teensy to test things, so I'm kinda flying blind. Add these two lines:

extern char isUsbVfoA;
extern char isUsbVfoB;


at line 785 in JackAl.h. Yes, the semicolon is needed...don't know why I left it off.

Let me know...

Jack

On Friday, June 28, 2019, 6:16:18 PM EDT, Rick Price <rickprice48@...> wrote:


Hi Jack,
Thanks for taking a look at the issue.? Getting the errors in the attached document when compiling. Also noticed a missing semicolon on the second isUsbVfoA? = 1?entry.? Should it not be added? The isUsbVfoA is declared in the Si5351.cpp as a char.???Line 63?? ??char ?isUsbVfoA? = 0,? isUsbVfoA = 1;? Guessing, ?but does it need to be added to the JackAl.h?
?
Rick
KN4AIE


From: [email protected] [mailto:[email protected]] On Behalf Of jjpurdum via Groups.Io
Sent: Friday, June 28, 2019 2:34 PM
To: [email protected]
Subject: Re: [JackAl] JackAl LSB/USB Button

In the MyButtons.cpp file, try making these changes:

void MyButtons::ChangeSidebands()
{
? if (whichSideband == USINGLSB) {???????????? // It's now LSB
??? RedrawLabel(LSB, (char *) "LSB");
??? isUsbVfoA = 0;
??? whichSideband = USINGLSB;
? } else {??????????????????????????????????? // It's now USB
??? RedrawLabel(LSB, (char *) "USB");
??? isUsbVfoA = 1
??? whichSideband = USINGUSB;
? }
? DrawButton(LSB, 1);
}

Let me know if it works. My JackAl is "on loan" right now.

Jack, W8TEE

On Wednesday, June 26, 2019, 2:49:19 PM EDT, jjpurdum via Groups.Io <jjpurdum@...> wrote:


I'll take a look at it, but it won't be until late Thursday.

Jack, W8TEE

On Wednesday, June 26, 2019, 2:24:45 PM EDT, Rick Price <rickprice48@...> wrote:


Hi Jack,
Now that field day is over with any chance for you to take a look at the LSB/USB Button code.? At present all it does is change the button message without changing the mode.? I have tried several things in the code to force it to 40 meters USB but without success. The fix must be a lot above my pay grade or I'm just not seeing what I need to do to fix it..

Rick Price
KN4AIE


Rick Price
 

¿ªÔÆÌåÓý

Jack,
Understand your flying blind, so maybe this should wait until you get your board back.? I was able to get a successful compile with the extern char addition.? I actually had tried that before I sent you my compile errors but had added both on the same line separated with a comma?like the Si5351.cpp which did not work for some reason.?Slowly learning, ha, ha. ?Anyway, the code change had no effect on the switch between upper and lower even though the button does change as before from lower to upper and back again.? I did find I could force the change to upper by changing in line 372 of the Si5331.cpp from <? 10010000?to > 10010000.? The button still had no effect but I was able to force the sideband change.
Noticed here that the variable was "isUsb".? Tried using that instead of "isusbVfoA" and changed the external char ?line to isUsb = 0 and isUsb = 1 ?but get the undeclared in this scope message, so not doing somethng correct.
Rick
KN4AIE



From: [email protected] [mailto:[email protected]] On Behalf Of jjpurdum via Groups.Io
Sent: Friday, June 28, 2019 10:44 PM
To: [email protected]
Subject: Re: [JackAl] JackAl LSB/USB Button

As I said, I don't have my JackAl here right now, so I don't have the board or the Teensy to test things, so I'm kinda flying blind. Add these two lines:

extern char isUsbVfoA;
extern char isUsbVfoB;


at line 785 in JackAl.h. Yes, the semicolon is needed...don't know why I left it off.

Let me know...

Jack

On Friday, June 28, 2019, 6:16:18 PM EDT, Rick Price <rickprice48@...> wrote:


Hi Jack,
Thanks for taking a look at the issue.? Getting the errors in the attached document when compiling. Also noticed a missing semicolon on the second isUsbVfoA? = 1?entry.? Should it not be added? The isUsbVfoA is declared in the Si5351.cpp as a char.???Line 63?? ??char ?isUsbVfoA? = 0,? isUsbVfoA = 1;? Guessing, ?but does it need to be added to the JackAl.h?
?
Rick
KN4AIE


From: [email protected] [mailto:[email protected]] On Behalf Of jjpurdum via Groups.Io
Sent: Friday, June 28, 2019 2:34 PM
To: [email protected]
Subject: Re: [JackAl] JackAl LSB/USB Button

In the MyButtons.cpp file, try making these changes:

void MyButtons::ChangeSidebands()
{
? if (whichSideband == USINGLSB) {???????????? // It's now LSB
??? RedrawLabel(LSB, (char *) "LSB");
??? isUsbVfoA = 0;
??? whichSideband = USINGLSB;
? } else {??????????????????????????????????? // It's now USB
??? RedrawLabel(LSB, (char *) "USB");
??? isUsbVfoA = 1
??? whichSideband = USINGUSB;
? }
? DrawButton(LSB, 1);
}

Let me know if it works. My JackAl is "on loan" right now.

Jack, W8TEE

On Wednesday, June 26, 2019, 2:49:19 PM EDT, jjpurdum via Groups.Io <jjpurdum@...> wrote:


I'll take a look at it, but it won't be until late Thursday.

Jack, W8TEE

On Wednesday, June 26, 2019, 2:24:45 PM EDT, Rick Price <rickprice48@...> wrote:


Hi Jack,
Now that field day is over with any chance for you to take a look at the LSB/USB Button code.? At present all it does is change the button message without changing the mode.? I have tried several things in the code to force it to 40 meters USB but without success. The fix must be a lot above my pay grade or I'm just not seeing what I need to do to fix it..

Rick Price
KN4AIE