开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

My Sbitx #64bit


 

My sBitx

I bought my sBitx because of a video where it claimed to be a CW Dream Machine. I bought only the? board since I already had the other components in my shack. If you use a keyboard for cw then you might declare it dreamy but if you prefer using paddles or a straight key, like myself, it was less than that.

IMG_0821.jpeg

The latest 64 bit version 4 software update made things a lot better.? Sometimes it will miss a leading character but so much better than before. It would be nice if at least the straight key mode could be interrupt driven and bypass the encoding, decoding stuff and go straight to keying the radio. I have no problem using an external keyer.

?

Aside from those issues I have become fond of editing the software for my own personal needs. Unfortunately this became a problem with software updates as it would wipe out all my efforts. So, I asked ChatGPT to write a program that looked through the lines of code for changes I made that were marked with //ak2b.

i.e

pi@sbitx:~/sbitx $ ./findak2b src/sbitx_gtk.c

?? ? ? ? {0.066,0.082,0.361}, ? ? // COLOR_BACKGROUND//ak2b

?? ? ? ? {0.690,0.075,0.353},? ? //SPECTRUM_BACKGROUND//ak2b

? ? ? ? {FONT_FIELD_LABEL, 0.388, 0.717, 0.968, "Mono", 14, CAIRO_FONT_WEIGHT_NORMAL, CAIRO_FONT_SLANT_NORMAL},//ak2b

? ? ? ? {FONT_CW_RX, 0, 1, 0, "Mono", 14, CAIRO_FONT_WEIGHT_NORMAL, ? ? ? ? CAIRO_FONT_SLANT_NORMAL},//ak2b

? ? ? ? //line below added above int y = f-y; //ak2b

? ? ? ? console_cols = console_cols -6;//ak2b

? ? ? ? int y = f->y; //ak2b

? ? ? ? field_move("SET",686,screen_height - 140 ,45 ,45);? //ak2b

? ? ? ? field_move("CW_INPUT", 5, screen_height - 140, 75 , 45);//ak2b

? ? ? ? field_move("SIDETONE", 5, screen_height - 90, 75, 45);//ak2b

?? ? ? ? //oled_toggle_band();//ak2b

?? ? ? ? focus_field(get_field("#step")); //ak2b

?

At some later date I might ask Chat CPT to insert these lines into the updated files. For now though I’m going to set back and marvel on how easy that was. ChatGPT even gave me the command to compile the code.

The amazing thing is I know little about c programming, let alone Linux!

?

There are times with this radio that have been very frustrating but when I put it away in the closet it is not long before I pull it out again because my 78 year old mind has thought of other ways to mess with this radio. You just can’t do that with an Icom!


Marshall Harrison
 

If that works great.

But you could have used awk to do this and learned a little Linux at the same time. Linux is made up of lots of little tools that allow you to,pipe the out pod one into another.

Some people, me included find Linux fun. I started my development career programming in C on a Unix system. I enjoy the command line interface almost as much as I do playing radio.

I’m glad you got this sorted out.?

Marshall Harrison,?
W4MKH







On Fri, Oct 11, 2024 at 5:13?PM Tom ak2b via <raccoonnyc=[email protected]> wrote:

My sBitx

I bought my sBitx because of a video where it claimed to be a CW Dream Machine. I bought only the? board since I already had the other components in my shack. If you use a keyboard for cw then you might declare it dreamy but if you prefer using paddles or a straight key, like myself, it was less than that.

IMG_0821.jpeg

The latest 64 bit version 4 software update made things a lot better.? Sometimes it will miss a leading character but so much better than before. It would be nice if at least the straight key mode could be interrupt driven and bypass the encoding, decoding stuff and go straight to keying the radio. I have no problem using an external keyer.

?

Aside from those issues I have become fond of editing the software for my own personal needs. Unfortunately this became a problem with software updates as it would wipe out all my efforts. So, I asked ChatGPT to write a program that looked through the lines of code for changes I made that were marked with //ak2b.

i.e

pi@sbitx:~/sbitx $ ./findak2b src/sbitx_gtk.c

?? ? ? ? {0.066,0.082,0.361}, ? ? // COLOR_BACKGROUND//ak2b

?? ? ? ? {0.690,0.075,0.353},? ? //SPECTRUM_BACKGROUND//ak2b

? ? ? ? {FONT_FIELD_LABEL, 0.388, 0.717, 0.968, "Mono", 14, CAIRO_FONT_WEIGHT_NORMAL, CAIRO_FONT_SLANT_NORMAL},//ak2b

? ? ? ? {FONT_CW_RX, 0, 1, 0, "Mono", 14, CAIRO_FONT_WEIGHT_NORMAL, ? ? ? ? CAIRO_FONT_SLANT_NORMAL},//ak2b

? ? ? ? //line below added above int y = f-y; //ak2b

? ? ? ? console_cols = console_cols -6;//ak2b

? ? ? ? int y = f->y; //ak2b

? ? ? ? field_move("SET",686,screen_height - 140 ,45 ,45);? //ak2b

? ? ? ? field_move("CW_INPUT", 5, screen_height - 140, 75 , 45);//ak2b

? ? ? ? field_move("SIDETONE", 5, screen_height - 90, 75, 45);//ak2b

?? ? ? ? //oled_toggle_band();//ak2b

?? ? ? ? focus_field(get_field("#step")); //ak2b

?

At some later date I might ask Chat CPT to insert these lines into the updated files. For now though I’m going to set back and marvel on how easy that was. ChatGPT even gave me the command to compile the code.

The amazing thing is I know little about c programming, let alone Linux!

?

There are times with this radio that have been very frustrating but when I put it away in the closet it is not long before I pull it out again because my 78 year old mind has thought of other ways to mess with this radio. You just can’t do that with an Icom!


 

Hi Marshall?
Great idea,
This is incomplete since it needs to know the lines that it is going to replace.
?
My Linux experience at the moment deals with the sBitx and not much more. I too love the command line but there is a time and place for everything and frankly I have no interest in learning every Linux tool in order to master it. I do admire those that do but realize it isn’t going to be me. Most of what I do is just geared to getting the job done with the limited tools in my mental arsenal. ChatGPT is a great tool if you have the right question.
?
I’m sure the developers would love to have someone with your experience helping the sBitx on its way to stardom.
?
73, Tom, ak2b
?
?
?
?
?
?


Marshall Harrison
 

I understand; go with your strengths.

Mine have been Powershell on the Windows platform and any flavor of Unix. Spent a career developing server side applications and backend processes.

Marshall Harrison,?
W4MKH






On Fri, Oct 11, 2024 at 11:10?PM Tom ak2b via <raccoonnyc=[email protected]> wrote:
Hi Marshall?
Great idea,
This is incomplete since it needs to know the lines that it is going to replace.
?
My Linux experience at the moment deals with the sBitx and not much more. I too love the command line but there is a time and place for everything and frankly I have no interest in learning every Linux tool in order to master it. I do admire those that do but realize it isn’t going to be me. Most of what I do is just geared to getting the job done with the limited tools in my mental arsenal. ChatGPT is a great tool if you have the right question.
?
I’m sure the developers would love to have someone with your experience helping the sBitx on its way to stardom.
?
73, Tom, ak2b
?
?
?
?
?
?


 

I use a linux program called Meld that allows me to compare two files and displays the differences.

Ron

On Friday, October 11, 2024 at 05:13:36 PM EDT, Tom ak2b <raccoonnyc@...> wrote:


My sBitx

I bought my sBitx because of a video where it claimed to be a CW Dream Machine. I bought only the? board since I already had the other components in my shack. If you use a keyboard for cw then you might declare it dreamy but if you prefer using paddles or a straight key, like myself, it was less than that.

IMG_0821.jpeg

The latest 64 bit version 4 software update made things a lot better.? Sometimes it will miss a leading character but so much better than before. It would be nice if at least the straight key mode could be interrupt driven and bypass the encoding, decoding stuff and go straight to keying the radio. I have no problem using an external keyer.

?

Aside from those issues I have become fond of editing the software for my own personal needs. Unfortunately this became a problem with software updates as it would wipe out all my efforts. So, I asked ChatGPT to write a program that looked through the lines of code for changes I made that were marked with //ak2b.

i.e

pi@sbitx:~/sbitx $ ./findak2b src/sbitx_gtk.c

?? ? ? ? {0.066,0.082,0.361}, ? ? // COLOR_BACKGROUND//ak2b

?? ? ? ? {0.690,0.075,0.353},? ? //SPECTRUM_BACKGROUND//ak2b

? ? ? ? {FONT_FIELD_LABEL, 0.388, 0.717, 0.968, "Mono", 14, CAIRO_FONT_WEIGHT_NORMAL, CAIRO_FONT_SLANT_NORMAL},//ak2b

? ? ? ? {FONT_CW_RX, 0, 1, 0, "Mono", 14, CAIRO_FONT_WEIGHT_NORMAL, ? ? ? ? CAIRO_FONT_SLANT_NORMAL},//ak2b

? ? ? ? //line below added above int y = f-y; //ak2b

? ? ? ? console_cols = console_cols -6;//ak2b

? ? ? ? int y = f->y; //ak2b

? ? ? ? field_move("SET",686,screen_height - 140 ,45 ,45);? //ak2b

? ? ? ? field_move("CW_INPUT", 5, screen_height - 140, 75 , 45);//ak2b

? ? ? ? field_move("SIDETONE", 5, screen_height - 90, 75, 45);//ak2b

?? ? ? ? //oled_toggle_band();//ak2b

?? ? ? ? focus_field(get_field("#step")); //ak2b

?

At some later date I might ask Chat CPT to insert these lines into the updated files. For now though I’m going to set back and marvel on how easy that was. ChatGPT even gave me the command to compile the code.

The amazing thing is I know little about c programming, let alone Linux!

?

There are times with this radio that have been very frustrating but when I put it away in the closet it is not long before I pull it out again because my 78 year old mind has thought of other ways to mess with this radio. You just can’t do that with an Icom!