¿ªÔÆÌåÓý

Re: Software question, possible feature request


 

If you don't want to use the function button for your mobile radio, then
why not install a small push button internally (inside the enclosure).
This will still enable you to set everything to your liking, but it will
prevent the user from accidentally changing some of the settings.

Alternatively, you can change the "factory settings" that are hardcoded in
the function factory_settings() starting at line 1302.

In the setup() routine, at line 1437 is some code that reloads the factory
settings under certain conditions:

if ((digitalRead(CAL_BUTTON) == LOW) || (digitalRead(FBUTTON) == LOW) ||
(old_version != raduino_version)) {
factory_settings();
}

You could change the "if" condition so that the (revised) factory settings
will be reloaded each time when you power up the rig:

if ((digitalRead(CAL_BUTTON) == LOW) || (digitalRead(FBUTTON) == HIGH)
|| (old_version != raduino_version)) {
factory_settings();
}

73 Allard PE1NWL




On Fri, May 26, 2017 03:40, KC8WBK via Groups.Io wrote:
I have a mobile radio built that I do not intend to add a function
button to. It is a radio that I want to keep simple and I don't want the
user to be able to switch to USB or CW by mistake.??

I would like to be able to set the functions in the sketch by
commenting, uncommenting or changing values so that the radio starts up
with the same values/function settings every time.

The settings that I would like to modify are VFO drive setting, LSB
frequency offset and Scan range.

Can I replace line 165 with

int LSBdrive = 2;?? ???

I found USB_OFFSET but did not find a LSB_OFFSET.?? Can I calibrate LSB
with a line of code somewhere??? Apparently it is offset using
calibrate()?

Can I replace line 195 with

int TUNING_RANGE = 300; // tuning range (in kHz) of the tuning pot?? ???

Join [email protected] to automatically receive all group messages.