Date   
Re: Hijacked: C vs C++

w7hd.rh <w7hd.rh@...>
 

I can vouch for the size increase with C++.  When I was teaching C and just getting my feet wet with C++, we did a direct comparison.  The results showed a 1.5K executable for C and 80K for C++ with the exact same code, simply renaming it .C++ instead of .C.  It is due to the libraries being pulled in.  Speed is a different issue since it is highly dependent on coding style.

Ron W7HD

On 07/03/2018 01:15 PM, Jack Purdum via Groups.Io wrote:
Hi Jerry:

I've seen statements like this:

    It's always been straight C (K&R or ANSII) if I want to code for speed or size

many times before, but I've never seen any a priori proof of this or articles that discuss it. It seems that it would make sense to be so, but I don't know if that's pushed into the generated code or if it's an increased load on the parser given the semantics of C++ versus C. Some even say that, because C++ uses templates in the libraries, the code generator can perform more optimizations on the code because it "knows" what you are doing (What are the fundamental differences between C and C++?).


I don't have an answer, but I do try to follow the goals of C++ where it makes sense, especially encapsulation. If anyone has a definitive answer, I'd really like to know about it.

Jack, W8TEE



On Tuesday, July 3, 2018, 3:16:24 PM EDT, Jerry Gaffke via Groups.Io <jgaffke@...> wrote:


> I fail to see the their and there you are pointing out. 
 
What do you mean?
It's right their in this sentence: 

>>   "their" is possessional, "there" is positional, required in this context.


My gripes are mostly about a good technical discussions diverging into multiple threads.
If you do start a new thread on an old subject then post links to both showing where the other thread can be found. 

Those posting without any history for context generally get ignored.
If it's not worth your while to spend 5 seconds including context,
it's certainly not worth it for thousands of forum readers to go find it.

If anybody want's to pick apart my use of USAish or my C indentation style (or lack thereof), have at it.
I'm quite capable of skipping over those posts too.

And while I'm at it, I've never seen any reason to get comfortable with C++.
It's always been straight C (K&R or ANSII) if I want to code for speed or size,
and for the last couple decades I've been resorting to Python for easy coding. 
This violates my primary beef above, I do try not to be overly pendantic.

Jerry, KE7ER



On Tue, Jul 3, 2018 at 09:49 am, Allen Merrell wrote:
On Tue, Jul 3, 2018 at 08:46 am, Dexter N Muir wrote:
Sorry to be a pedant, but that's me Allen: "their" is possessional, "there" is positional, required in this context.
73
Dex, ZL2DEX
Sorry Dexter, I'm not an english major but I fail to see the their and there you are pointing out.
 
--
Allen  Merrell

-- 
Ron W7HD - NAQCC#7587 OMISS#9898 KX3#6966 LinuxUser#415320
Editor OVARC newsletter

Re: Who has uBITX with Nextion display in action pictures ?

John
 

I kinda cheated... my 20x2 LCD was mounted above the Lexan, so I repurposed some of the holes and left the others there.

Re: Who has uBITX with Nextion display in action pictures ?

Art Olson
 

forgot to give credit to Ian (CEC Firmware) and Allen (3.5 LCD files).  Both have enabled our community to embrace new Ubitx capabilities

73
art N2AJO

Re: Removing insulation from fine wires

Brian L. Davis
 

I've always used a small pen knife kept very sharp.  It takes a while but you can feel the difference between the insulation and the wire underneath.
I just hold the wire and roll it with my thumb against the blade to strip the insulation off.
The only problem comes when you get a different knife, I've nicked my thumb more than once with a new knife I wasn't used to.

Re: experience with Sunil VU3SUA's enclosures #ubitx

Mark M
 

In my experience, he's more likely to respond on Facebook. He posts there in the uBitx groups now and then. I had ordered a case in late March and shortly thereafter he announced a couple new colors in a FB posting. I sent him a message via FB about changing to one of the newer colors and he was very willing to switch. He had inventory in the color I wanted (blue with white panels) and sent it out right away. I had several FB messages with him. You might give that a try if you're on FB.

OTOH, a friend of mine ordered a case shortly after I did and has still not received it and has had no response to several email inquiries. He is planning to file a complaint with Paypal.

As for the case itself, it's well done. You might want to remove some of the paint from various places to be sure you get good contact all around. I think some of the connectors could be higher quality and the off/on switch failed after only a few uses. I also had to adjust the position of the board so that the display would line up with opening...I elongated the four holes about 2mm to the right (looking at it from the front). Overall, it's probably worth the money, esp. if you don't want to do a lot of drilling & filing & acquisition of connectors, etc.

From some postings on FB, it looks like he's working on a version to handle the touch screen displays.

Mark AA7TA

On 7/3/18 1:53 PM, Mike KK7ER wrote:
I send that information every time I email him. But to date I have gotten zero replies.
73 Mike KK7ER
_._,_._,_

Re: Removing insulation from fine wires

Adrian
 

I used to use my teeth aswell until stripping wire one day broke a chunk of tooth off. Now use my thumb nail and finger

Adrian

Re: experience with Sunil VU3SUA's enclosures #ubitx

Mike KK7ER
 

I don't mind waiting  I do mind the uncertainty and complete lack of communication. 

73 Mike KK7ER 

Re: Who has uBITX with Nextion display in action pictures ?

Charlie Morrison
 

I saw a post recently (cant remember where ) of someone who is developing a tft file for a 7In nextion…cant find it now, but the 7 in displays are becoming much cheaper and could be mounted on top of the ubitx case, similar to the PIHPSDR done by Scott, WU2O…anyone remember who it was?

 

Regards

Charlie GI4FUE

 

From: BITX20@groups.io [mailto:BITX20@groups.io] On Behalf Of Art Olson via Groups.Io
Sent: 03 July 2018 23:24
To: BITX20@groups.io
Subject: Re: [BITX20] Who has uBITX with Nextion display in action pictures ?

 

Kees

I placed a photo of my 3.5 Nextion, CECs firmware 1.094. It is installed and running on a Ubitx version 3.Nextion has a list of 3d bezels for each size with downloadable stl files. I ordered a 3.5 bezel from 3d Hubs and it cost me $10. I think it looks pretty good on the face of my rig enclosure.


Nextion bezels -
https://www.itead.cc/wiki/Nextion_HMI_Solution#3D_printing_bezel

 

 

Virus-free. www.avg.com

 

Re: v4 pop-fix on a v3 board #ubitx

Michael Shreeve
 

Looks easy enough. But, I'm wondering just how good the audio is on the V4 board with the new 3 transistor audio amp. Is it worth having ? So Few new V4 boards out there. I know of one not far from me and I'm waiting for his critic (ND6T)  If so, there is a schematic available , with a board pattern, and perhaps he sells boards. This board has the pop fix, audio amp, and a page is available, its here  http://vu2kyz.blogspot.com/ . It also has an lm386 for use with Ians software so you have a working S meter. I remember the lm386 as a audio output amplifier of some kind, used years ago, I'll have to look it up. 

Re: Who has uBITX with Nextion display in action pictures ?

Art Olson
 

Charlie

 

His name is Joe Basque, VE1BWV

 

Here is a youtube link

 

https://www.youtube.com/watch?v=MU4ehLk1I2A&t=28s

 

73

Art N2AJO

 

From: BITX20@groups.io [mailto:BITX20@groups.io] On Behalf Of Charlie Morrison
Sent: Tuesday, July 3, 2018 7:19 PM
To: BITX20@groups.io
Subject: Re: [BITX20] Who has uBITX with Nextion display in action pictures ?

 

I saw a post recently (cant remember where ) of someone who is developing a tft file for a 7In nextion…cant find it now, but the 7 in displays are becoming much cheaper and could be mounted on top of the ubitx case, similar to the PIHPSDR done by Scott, WU2O…anyone remember who it was?

 

Regards

Charlie GI4FUE

 

From: BITX20@groups.io [mailto:BITX20@groups.io] On Behalf Of Art Olson via Groups.Io
Sent: 03 July 2018 23:24
To: BITX20@groups.io
Subject: Re: [BITX20] Who has uBITX with Nextion display in action pictures ?

 

Kees

I placed a photo of my 3.5 Nextion, CECs firmware 1.094. It is installed and running on a Ubitx version 3.Nextion has a list of 3d bezels for each size with downloadable stl files. I ordered a 3.5 bezel from 3d Hubs and it cost me $10. I think it looks pretty good on the face of my rig enclosure.


Nextion bezels -
https://www.itead.cc/wiki/Nextion_HMI_Solution#3D_printing_bezel

 

 

Virus-free. www.avg.com

 

Re: experience with Sunil VU3SUA's enclosures #ubitx

Mike KK7ER
 

Thanks, Mark!  I just tried FB messenger.  I'll give it a few days and see if he responds.  If not, seems like PayPal complaint or credit card dispute are the only options left.

73 Mike KK7ER

Re: Nextion 3.2 Display

Dexter N Muir
 

Sorry, Arv and Group. Should have clicked "Reply To Sender" ... mea culpa.
73
Dex, ZL2DEX

Re: Hijacked: C vs C++

Tom, wb6b
 

Virtually everything done with the Arduino is C++. Every installable Arduino library is built as a C++ class. 

Many of the C++ standard libraries are not included or have been replaced by trimmed down versions. There is no official STL implementation for the Arduino. So, Arduino users are using C++ without issue.

Interestingly the String object library increases the size of a program very little. Pull in the standard C stdio library so one can use sprintf and the compiled code instantly bloats by several K bytes.

Compared to the 8748 processors I used to use in the type of application the Nano is now used in, it is like having a super computer. I did everything in assembly code back then, because even with processors that could be programmed in C, the overhead of C was just too much. 

Tom, wb6b

Re: TX frequency? of uBitx at CWL and CWU mode #ubitxcw

Ian Lee
 

Andy
I was able to observe your uBITX status very easily because of the .btx file (you sent)
I made my uBITX the same as your uBITX as shown below.
01.


02.This is the part you set for CWL, CWU


Everything is perfect. If it was just a mistake, my explanation was not enough.
CW Freq Adjust Value should be set to 0 (Default value)
Depending on your side tone, the frequency is automatically calculated.

Again, this is due to my lack of explanation.
CW Freq Adjust Value is for further fine tuning. In general, it should be set to 0.
I set CW Freq Adjust value (Fine tune) to 0 and wrote to uBITX.

03.



And I tested it as follows.
(It will look the same as your uBITX)


04.Change mode -> CWL


05.Changed mode -> CWL


Was the displayed frequency changed?
This is actually the frequency at which the radio waves are transmitted.

Attach the modified (600 -> 0) btx file.

You can modify it yourself, or you can follow the procedure below.
Connect -> Read From uBITX -> Load file -> Select attached file -> Write -> Reboot

Please let me know your personal e-mail address and I will tell you a few more things

Ian KD8CEC

2018-07-04 2:37 GMT+09:00 Andy V. Borisenko via Groups.Io <rw9rn@...>:

Ian,
my .btx file



--
Best 73
KD8CEC / Ph.D ian lee
kd8cec@...
www.hamskey.com (my blog)

Re: experience with Sunil VU3SUA's enclosures #ubitx

RICHARD
 

I have one of his cases and I think they are junk!  Miss drilled holes,  poor layout,  way to much paint making for poor ground connections,  and a bunch of extra parts and connectors that are not needed.    But that’s just my ……..

 

K6KWQ

 

Sent from Mail for Windows 10

 


From: BITX20@groups.io <BITX20@groups.io> on behalf of Mark M <junquemaile@...>
Sent: Tuesday, July 3, 2018 3:40:48 PM
To: BITX20@groups.io
Subject: Re: [BITX20] experience with Sunil VU3SUA's enclosures #ubitx
 
In my experience, he's more likely to respond on Facebook. He posts
there in the uBitx groups now and then. I had ordered a case in late
March and shortly thereafter he announced a couple new colors in a FB
posting. I sent him a message via FB about changing to one of the newer
colors and he was very willing to switch. He had inventory in the color
I wanted (blue with white panels) and sent it out right away. I had
several FB messages with him. You might give that a try if you're on FB.

OTOH, a friend of mine ordered a case shortly after I did and has still
not received it and has had no response to several email inquiries. He
is planning to file a complaint with Paypal.

As for the case itself, it's well done. You might want to remove some of
the paint from various places to be sure you get good contact all
around. I think some of the connectors could be higher quality and the
off/on switch failed after only a few uses. I also had to adjust the
position of the board so that the display would line up with opening...I
elongated the four holes about 2mm to the right (looking at it from the
front). Overall, it's probably worth the money, esp. if you don't want
to do a lot of drilling & filing & acquisition of connectors, etc.

 From some postings on FB, it looks like he's working on a version to
handle the touch screen displays.

Mark    AA7TA

On 7/3/18 1:53 PM, Mike KK7ER wrote:
> I send that information every time I email him. But to date I have
> gotten zero replies.
>
> 73 Mike KK7ER
> _._,_._,_



Re: #ubitx safely putting on tight tuning knob #ubitx

Rick Price
 

Hi Jack,
Patiently waiting for the JACKAL board to be released, have the space, display, teensy, and audio board,  but just wondering if you have included CAT in your new software.  Seems I've gotten hooked a bit on FT8 and the use of CAT for switching between bands and initiating transmit at the proper time.  I did not see it or missed it in the list of features you released.  MSG#53233  JackAL V01 Features.doc

Rick
KN4AIE

Re: Who has uBITX with Nextion display in action pictures ?

Joe
 

Hi,

I am running a 3.2e and a 7 inch
The code is working fine.
I will be releasing the 7 inch .hmi code with enhanced for the larger screen
by the end of the week or sooner.
Probably on ubitx.net
Also a new youtube demo

73
Joe
VE1BWV


On Tue, Jul 3, 2018, 8:35 PM Art Olson <olson339@...> wrote:

Charlie

 

His name is Joe Basque, VE1BWV

 

Here is a youtube link

 

https://www.youtube.com/watch?v=MU4ehLk1I2A&t=28s

 

73

Art N2AJO

 

From: BITX20@groups.io [mailto:BITX20@groups.io] On Behalf Of Charlie Morrison
Sent: Tuesday, July 3, 2018 7:19 PM


To: BITX20@groups.io
Subject: Re: [BITX20] Who has uBITX with Nextion display in action pictures ?

 

I saw a post recently (cant remember where ) of someone who is developing a tft file for a 7In nextion…cant find it now, but the 7 in displays are becoming much cheaper and could be mounted on top of the ubitx case, similar to the PIHPSDR done by Scott, WU2O…anyone remember who it was?

 

Regards

Charlie GI4FUE

 

From: BITX20@groups.io [mailto:BITX20@groups.io] On Behalf Of Art Olson via Groups.Io
Sent: 03 July 2018 23:24
To: BITX20@groups.io
Subject: Re: [BITX20] Who has uBITX with Nextion display in action pictures ?

 

Kees

I placed a photo of my 3.5 Nextion, CECs firmware 1.094. It is installed and running on a Ubitx version 3.Nextion has a list of 3d bezels for each size with downloadable stl files. I ordered a 3.5 bezel from 3d Hubs and it cost me $10. I think it looks pretty good on the face of my rig enclosure.


Nextion bezels -
https://www.itead.cc/wiki/Nextion_HMI_Solution#3D_printing_bezel

 

 

Virus-free. www.avg.com

 

Re: Removing insulation from fine wires

John Smith
 


I use these for CAT5 wires for the breadboard, and 30 AWG wire wrapping wire. There is a sliding screw nut that the opposing side hits against to set the depth of cut for repeated stripping of the same size wire. And I use a velcro strap to kinda hold the handles partly together, otherwise they spring out far apart. Or you could look for strippers that also strips 30 AWG. They have about 6 small wire sizes on those, and they are almost never in a store, you have to order them.

LED Power Output Indicator #ubitx

Lee
 

I ran across this when looking for an transmit indicator for my Small Wonder Lab PSK31.  The original resistor was 2.2K but our radios put out more than double so I changed the resistor to 5.6K.   Maybe someone with more electronic knowledge than me has better suggestions.   It lights up bright and solid for CW and you an watch your modulation on SSB.   I can really see the difference when I switch in my SSM2167 module.
--
Lee - N9LO  "I Void Warranties"


 

Re: Removing insulation from fine wires

Jack Purdum
 

I checked eBay and they were about $8 + $5 shipping. Then I checked Harbor Freight and it's $2.50. You have to look hard, but it also has the adjustment mechanism.

Jack, W8TEE

On Tuesday, July 3, 2018, 8:47:31 PM EDT, John Smith via Groups.Io <johnlinux77@...> wrote:



I use these for CAT5 wires for the breadboard, and 30 AWG wire wrapping wire. There is a sliding screw nut that the opposing side hits against to set the depth of cut for repeated stripping of the same size wire. And I use a velcro strap to kinda hold the handles partly together, otherwise they spring out far apart. Or you could look for strippers that also strips 30 AWG. They have about 6 small wire sizes on those, and they are almost never in a store, you have to order them.