Skip to content

Commit

Permalink
Macros: Now playing with SPW to change encoder modes
Browse files Browse the repository at this point in the history
Now leverages SPW command to set MCH and CH-Dial modes.
  • Loading branch information
rfrht committed May 24, 2023
1 parent 4dfea75 commit 298445b
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 4 deletions.
1 change: 1 addition & 0 deletions auto/ch-dial.bin
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SPWI�;
4 changes: 4 additions & 0 deletions auto/ch-dial.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@echo off
call %USERPROFILE%\auto\setup.cmd
REM Set encoder in VFO mode to CH Dial
type %USERPROFILE%\auto\ch-dial.bin> %COMPORT%
8 changes: 6 additions & 2 deletions auto/fm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
<MB_Name>V / M</MB_Name>
<MB_Subname>Toggle VFO/Memory</MB_Subname>
<MB_InitRequest></MB_InitRequest>
<MB_OnRequest>System.Execute("%USERPROFILE%\auto\v-m.cmd");</MB_OnRequest>
<MB_OnRequest>System.Execute("%USERPROFILE%\auto\v-m.cmd");
Wait(50);
System.Execute("%USERPROFILE%\auto\mch.cmd");</MB_OnRequest>
<MB_OffRequest></MB_OffRequest>
</MacroButton>
<MacroButton index='2' type='0' color='5' key='0' ctrl='0' shift='0' alt='0' anyway='0' exclusive='0' trigger='0' xinput='0'>
Expand Down Expand Up @@ -60,7 +62,9 @@ Bus(1).EQ.on=0;
Bus[2].Gain="0";
Bus[3].Gain="0";
Bus[4].Gain="0";</MB_InitRequest>
<MB_OnRequest>System.Execute("%USERPROFILE%\auto\145000.cmd");</MB_OnRequest>
<MB_OnRequest>System.Execute("%USERPROFILE%\auto\145000.cmd");
Wait(50);
System.Execute("%USERPROFILE%\auto\mch.cmd");</MB_OnRequest>
<MB_OffRequest></MB_OffRequest>
</MacroButton>
<MacroButton index='6' type='0' color='0' key='0' ctrl='0' shift='0' alt='0' anyway='0' exclusive='0' trigger='0' xinput='0'>
Expand Down
5 changes: 4 additions & 1 deletion auto/ft8-60m.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ REM Config 106 REAR
REM Config 108 SSB PTTT Select RTS (for 60m)
REM Preamp AMP1
REM AGC Fast
REM Encoder set to MCH mode

set CAT=MC120;PR00;PC010;EX1061;EX1081;PA01;GT01;
echo| set /p="%CAT%"> %COMPORT%
echo| set /p="%CAT%"> %COMPORT%

type %USERPROFILE%\auto\mch-vfoa.bin> %COMPORT%
1 change: 1 addition & 0 deletions auto/mch-vfoa.bin
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SPWI5�;
1 change: 1 addition & 0 deletions auto/mch.bin
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SPWN55�;
4 changes: 4 additions & 0 deletions auto/mch.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@echo off
call %USERPROFILE%\auto\setup.cmd
REM Set encoder in Memory mode to MCH
type %USERPROFILE%\auto\mch.bin> %COMPORT%
5 changes: 4 additions & 1 deletion auto/ssb-reset.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ REM Reset Shift
REM CLAR reset
REM CLAR off
REM TX Audio wide Config 110 100-3000
REM Set encoder to CH-Dial mode

SET CAT=NB00;BC00;NR00;CO000000;NA00;SH021;GT03;RA00;PC100;MS2;VX0;IS0+0000;RC;RT0;EX1101;
echo| set /p="%CAT%"> %COMPORT%
echo| set /p="%CAT%"> %COMPORT%

type %USERPROFILE%\auto\ch-dial.bin> %COMPORT%

0 comments on commit 298445b

Please sign in to comment.