Re: Restructuring the T41 code
Yes, Jack, you've got it!? There is some nuance when someone uses the term "global", and what I was trying to flush out was the "super globals" versus "local file globals".? When I see "extern" that
By
Greg KF5N
·
#33678
·
Edited
|
Re: Restructuring the T41 code
Mornin' Greg: Yes, Al and I found a lot of "dead" variables when we started out. We could tell by their names that some of them were clearly used as temporary debug variables that just didn't get
By
jjpurdum
·
#33677
·
|
Re: Restructuring the T41 code
Great work Terrance!? That is what I aspire to.? It's going to take a few more iterations to get T41EEE that good. I wholeheartedly agree it makes it easier to find things specific to a particular
By
Greg KF5N
·
#33676
·
|
Re: FW 66.9 bug
Found the bug -- it was a simple one-line fix in the end. Pushed to GitHub: https://github.com/KI3P/SDTVer066-9/commit/8569ee3bc37fdbb3143b00356bb0ae0507448c3a
By
Oliver KI3P
·
#33675
·
|
Re: Restructuring the T41 code
Oliver - Thanks for update.? Your diagrams are very helpful. I took this approach.? Yes, it's tedious.? I've gone pretty far with my approach.? My SDT.h is only 209 lines.? This doesn't reflect a
By
Terrance Robertson, KN6ZDE
·
#33674
·
|
Re: Restructuring the T41 code
Hi Jack- It's a metric of the reduction of global variables.? Note that the .ino file was also greatly de-cluttered in concert with SDT.h. There were also a bunch of variables which only existed in
By
Greg KF5N
·
#33673
·
|
Re: Restructuring the T41 code
Greg: Curious about the line: To get an idea of how much progress I have made, the number of lines in T41EEE.9/SDT.h = 1057.? SDTVer066-9/SDT.h = 2640. What was the impact if you add up the class
By
jjpurdum
·
#33672
·
|
Re: FW 66.9 bug
SRY My bad memory Spectrum Options Did we have option for averaging in older FW? Tim
By
Tim
·
#33671
·
|
Re: Restructuring the T41 code
Hi Oliver- One thing I recommend is writing a script to "de-globalize" the code.? I did this and removed hundreds of globals.? There were even globalized local variables! What the script does is
By
Greg KF5N
·
#33670
·
|
Re: Restructuring the T41 code
Thanks Oliver. This is a huge effort! And, very exciting! dave,n3ds
By
D Solt
·
#33669
·
|
Re: LPF Control Board addressing help
Oliver, success, I went back and re-flowed all of the connections on U15 on the LPF control board and checked continuity on all the pins again. Everything was ok. Then I remembered that there was a
By
Robert Luken W3RDL
·
#33668
·
|
Restructuring the T41 code
I wanted to share a little information on how I'm going to go about restructuring the T41 code. The most difficult bugs to track down in the current code have been those caused by the radio being in
By
Oliver KI3P
·
#33667
·
|
Re: FW 66.9 bug
The Ver066.9 code doesn't have a menu option called "Display Options" -- which one did you select? [image.png]
By
Oliver KI3P
·
#33666
·
|
Re: LPF Control Board addressing help
The daisy chain test sounds like it might be a clue. Does your radio find the BPF if that board is connected to the main board? It uses the same I2C bus, so this will confirm that the problem is not
By
Oliver KI3P
·
#33665
·
|
Re: Kits and parts.
Invoice Incoming Dr. William J. Schmidt - K9HZ J62K(J68HZ) 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois Owner ¨C Operator Villa Grand
By
K9HZ
·
#33664
·
|
Re: FW 66.9 bug
I reloaded and cleared mwmory Duplicated it! Menu Display Options select cancel press Select Back to partial display and rebooting Tim
By
Tim
·
#33663
·
|
Re: Kits and parts.
Bill, I would like to order the following: 1 - 20W DL and 40dB Attenuator 1 - 20A Distribution Kit 1450 Lester Court Merritt Island, FL 32952
By
Robert Luken W3RDL
·
#33662
·
|
Re: LPF Control Board addressing help
No joy. I checked continuity from U15 to the band header pins, OK. I checked all IC pins for solder bridges and opens and all resistors and capacitors. Powered the board externally and checked all
By
Robert Luken W3RDL
·
#33661
·
|
Re: February 2025 QST Cover Plaque Award
..And my first transmitter had one tube. A 6V6. It was an article in Popular Electronics.... or maybe Electronics Illustrated. I built it on a baking tin I stole from my mother. The final coil was
By
jerry-KF6VB
·
#33660
·
|
Kits and parts.
As of close of business today, I'll have to stop talking board and kit orders for the T41 and associated electronics. I'm preparing for Hamvention now. We will have plenty of boards, kits, and books
By
K9HZ
·
#33659
·
|