Date   
Re: Harmonic performance - SSB vs CW

ajparent1/KB1GMX <kb1gmx@...>
 

Tom,

It is likely wishful thinking as its been well documented the filters have 
leakage paths around them and its design not faulty parts.

No, a shield, metal case would not. as the harmonics come out through the jack.
That is where you measure it using shielded cables.

Allison

Re: Harmonic performance - SSB vs CW

Tom, wb6b
 

Somewhere in this thread I saw a comment about a person with their uBITX in a metal case not having a harmonic issue. It is had to know from just one report.

Does anyone know if mounting the radio in a metal case, or maybe, mounting it on standoffs on an un-etched double clad printed circuit board (with the antenna connector grounded to the added circuit board base) would make any noticeable difference? 

Tom, wb6b

Finding the right version of schematic, voltage and signal at test points #ubitx-help

Bruce
 

We have two working uBitX and one that has feedback into audio in transmit. Having checked the wiring, etc. it looks like voltage and maybe signal tracing is needed to find a faulty component or trace.

Assistance needed:
  • Which schematic is correct? The board is marked "94-VO 0218 ubit V3."
  • Anything else on the board needed to determine which schematic is correct?
  • Are there top and bottom board images with labels to see potential test points?
  • Is there a test point chart or table that shows the voltages and signals to expect at each test point in RX, TX, and band settings?

Re: uBitX SSB transmit oscillations on 20m only #ubitx

Bruce
 

Raj, after three of us went through the wiring, etc., we suspect a bad component somewhere.  K3 is one of our first things to test. Now it is time for voltage and signal tracing.

Re: Need Help

Jack, W8TEE
 

You didn't follow instructions correctly. This is what you typed:

ubitx_v4.3_code:637: error: expected primary-expression before 'char'

   printLine2(char*)"uBITX v4.3");


This is what I told you to type:

  printLine2( (char*)"uBITX v4.3");


Notice anything different? (Hint: count the parentheses.) The devil's in the details.

Jack, W8TEE

On Tuesday, August 7, 2018, 6:06:53 PM EDT, bdunk@... <bdunk@...> wrote:


Hi Jack, 
tried your suggestion and got a new error message.

Arduino: 1.8.5 (Mac OS X), Board: "Arduino Nano, ATmega328P"

 

/Applications/Arduino-2.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino-2.app/Contents/Java/hardware -hardware /Users/albertdunk/Library/Arduino15/packages -tools /Applications/Arduino-2.app/Contents/Java/tools-builder -tools /Applications/Arduino-2.app/Contents/Java/hardware/tools/avr -tools /Users/albertdunk/Library/Arduino15/packages -built-in-libraries /Applications/Arduino-2.app/Contents/Java/libraries -libraries /Users/albertdunk/Documents/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10805 -build-path /var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017 -warnings=all -build-cache /var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_cache_642020 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Users/albertdunk/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avrdude.path=/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -prefs=runtime.tools.avr-gcc.path=/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -verbose /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino

/Applications/Arduino-2.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino-2.app/Contents/Java/hardware -hardware /Users/albertdunk/Library/Arduino15/packages -tools /Applications/Arduino-2.app/Contents/Java/tools-builder -tools /Applications/Arduino-2.app/Contents/Java/hardware/tools/avr -tools /Users/albertdunk/Library/Arduino15/packages -built-in-libraries /Applications/Arduino-2.app/Contents/Java/libraries -libraries /Users/albertdunk/Documents/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10805 -build-path /var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017 -warnings=all -build-cache /var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_cache_642020 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Users/albertdunk/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avrdude.path=/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -prefs=runtime.tools.avr-gcc.path=/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -verbose /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino

Using board 'nano' from platform in folder: /Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21

Using core 'arduino' from platform in folder: /Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21

Detecting libraries used...

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp" -o "/dev/null"

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR  "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp" -o "/dev/null"

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR  "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp" -o "/dev/null"

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR  "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "-I/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src" "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp" -o "/dev/null"

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR  "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "-I/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src" "/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src/Wire.cpp" -o "/dev/null"

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "-I/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src" "/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src/utility/twi.c" -o "/dev/null"

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR  "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "-I/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src" "/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.cpp" -o "/dev/null"

Generating function prototypes...

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "-I/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src" "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp" -o "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/preproc/ctags_target_for_gcc_minus_e.cpp"

"/Applications/Arduino-2.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/preproc/ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR  "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "-I/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src" "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp" -o "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp.o"

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:34:0:

/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src/EEPROM.h:43:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

     operator const uint8_t() const       { return **this; }

                             ^

/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src/EEPROM.h:92:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

     operator const int() const          { return index; }

                         ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino: In function 'void active_delay(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:235:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

   while (millis() - timeStart <= delay_by) {

                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino: In function 'void setFrequency(long unsigned int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:295:12: warning: unused variable 'osc_f' [-Wunused-variable]

   uint64_t osc_f, firstOscillator, secondOscillator;

            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:295:19: warning: unused variable 'firstOscillator' [-Wunused-variable]

   uint64_t osc_f, firstOscillator, secondOscillator;

                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:295:36: warning: unused variable 'secondOscillator' [-Wunused-variable]

   uint64_t osc_f, firstOscillator, secondOscillator;

                                    ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino: In function 'void startTx(byte)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:319:17: warning: unused variable 'tx_freq' [-Wunused-variable]

   unsigned long tx_freq = 0;  

                 ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino: In function 'void checkButton()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:434:7: warning: unused variable 'i' [-Wunused-variable]

   int i, t1, t2, knob, new_knob;

       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:434:10: warning: unused variable 't1' [-Wunused-variable]

   int i, t1, t2, knob, new_knob;

          ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:434:14: warning: unused variable 't2' [-Wunused-variable]

   int i, t1, t2, knob, new_knob;

              ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:434:18: warning: unused variable 'knob' [-Wunused-variable]

   int i, t1, t2, knob, new_knob;

                  ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:434:24: warning: unused variable 'new_knob' [-Wunused-variable]

   int i, t1, t2, knob, new_knob;

                       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino: In function 'void doRIT()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:495:17: warning: unused variable 'newFreq' [-Wunused-variable]

   unsigned long newFreq;

                 ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino: In function 'void setup()':

ubitx_v4.3_code:637: error: expected primary-expression before 'char'

   printLine2(char*)"uBITX v4.3"); 

              ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino: In function 'void factory_alignment()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:30:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("Setup Aborted");

                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:37:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   printLine2("#2 BFO");

                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:44:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("Setup Aborted");

                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:48:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("#3:Test 3.5MHz");

                             ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:59:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("#4:Test 7MHz");

                           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:69:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("#5:Test 14MHz");

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:80:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("#6:Test 28MHz");

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:89:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("Alignment done");

                             ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int menuBand(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:67:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   printLine2("Band Select   \x7E");

                                    ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:68:4: warning: return-statement with no value, in function returning 'int' [-fpermissive]

    return;

    ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:71:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("Band Select:");

                           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:110:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("");

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:60:7: warning: unused variable 'band' [-Wunused-variable]

   int band;

       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:61:17: warning: unused variable 'offset' [-Wunused-variable]

   unsigned long offset;

                 ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuRitToggle(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:119:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

       printLine2("RIT On \x7E Off");

                                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:121:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("RIT Off \x7E On");

                                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:127:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("RIT is On");

                             ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:132:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("RIT is Off");

                             ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:136:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("");

                  ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuVfoToggle(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:147:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("VFO A \x7E B");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:149:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("VFO B \x7E A");

                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:184:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("");

                  ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSidebandToggle(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:194:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("USB \x7E LSB");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:196:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("LSB \x7E USB");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:201:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("LSB Selected");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:203:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("");

                    ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:207:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("USB Selected");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:209:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("");

                    ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSplitToggle(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:228:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Split Off \x7E On");

                                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:230:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Split On \x7E Off");

                                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:235:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Split ON");

                           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:241:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Split Off");

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:244:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("");

                  ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int menuCWSpeed(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:262:6: warning: return-statement with no value, in function returning 'int' [-fpermissive]

      return;

      ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:296:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

     wpm = getValueByKnob(1, 100, 1,  wpm, "CW: ", " WPM>");

                                                         ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:296:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:298:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("CW Speed set!");

                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:303:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("");

                  ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:251:9: warning: unused variable 'knob' [-Wunused-variable]

     int knob = 0;

         ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuExit(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:311:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Exit Menu     \x7E");

                                       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:314:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Exiting...");

                             ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:316:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("");

                    ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int menuSetup(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:329:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Settings      \x7E");

                                       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:331:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Settings \x7E Off");

                                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:335:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Settings On");

                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:339:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Settings Off");      

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:345:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   printLine2("");

                 ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int calibrateClock()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:413:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("Calibration set!");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:422:1: warning: no return statement in function returning non-void [-Wreturn-type]

 }

 ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int menuSetupCalibration(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:429:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("Setup:Calibrate\x7E");

                                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:433:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine1("Press PTT & tune");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:434:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   printLine2("to exactly 10 MHz");

                                 ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:425:7: warning: unused variable 'knob' [-Wunused-variable]

   int knob = 0;

       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:426:11: warning: unused variable 'prev_calibration' [-Wunused-variable]

   int32_t prev_calibration;

           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSetupCarrier(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:459:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Setup:BFO     \x7E");

                                       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:464:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine1("Tune to best Signal");  

                                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:465:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("Press to confirm. ");

                                  ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:489:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("Carrier set!   ");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:496:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("");

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSetupCwTone(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:505:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("Setup:CW Tone \x7E");

                                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:510:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   printLine1("Tune CW tone");  

                           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:511:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("PTT to confirm. ");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:537:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("Sidetone set!   ");

                                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:544:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("");  

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSetupCwDelay(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:554:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("Setup:CW Delay \x7E");

                                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:560:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   cwDelayTime = getValueByKnob(10, 1000, 50, cwDelayTime, "CW Delay>", " msec");

                                                                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:560:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:562:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   printLine1("CW Delay Set!");  

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:563:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("");

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:550:7: warning: unused variable 'knob' [-Wunused-variable]

   int knob = 0;

       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSetupKeyer(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:574:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Setup:CW(Hand)\x7E");

                                      ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:576:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Setup:CW(IambA)\x7E");

                                       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:578:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Setup:CW(IambB)\x7E");    

                                       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:603:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine1("Hand Key?");

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:605:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine1("Iambic A?");

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:607:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine1("Iambic B?"); 

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:624:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine1("Keyer Set!");

                         ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:626:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine1("");

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:629:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("");

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuReadADC(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:638:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("6:Setup>Read ADC>");

                                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:649:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine1("");

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_si5351.ino: In function 'void si5351bx_init()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_si5351.ino:65:11: warning: unused variable 'reg' [-Wunused-variable]

   uint8_t reg;  uint32_t msxp1;

           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino: In function 'void initMeter()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:45:35: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(1, s_meter_bitmap);

                                   ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:46:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(2, s_meter_bitmap + 8);

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:47:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(3, s_meter_bitmap + 16);

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:48:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(4, s_meter_bitmap + 24);

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:49:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(5, s_meter_bitmap + 32);

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:50:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(6, s_meter_bitmap + 40);

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:51:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(0, s_meter_bitmap + 48);

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:52:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(7, s_meter_bitmap + 56);  

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino: In function 'void drawMeter(int8_t)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:64:11: warning: unused variable 'best' [-Wunused-variable]

   int16_t best, i, s;

           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino: In function 'void printLine(char, char*)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:86:35: warning: array subscript has type 'char' [-Wchar-subscripts]

   if (strcmp(c, printBuff[linenmbr])) {     // only refresh the display when there was a change

                                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:89:30: warning: array subscript has type 'char' [-Wchar-subscripts]

    strcpy(printBuff[linenmbr], c);

                             ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino: In function 'int enc_read()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:209:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

   while (millis() < stop_by) { // check if the previous state was stable

                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int menuSetupCalibration(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:437:1: warning: control reaches end of non-void function [-Wreturn-type]

 }

 ^

Using library Wire at version 1.0 in folder: /Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire

Using library EEPROM at version 2.0 in folder: /Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM

Using library LiquidCrystal at version 1.0.7 in folder: /Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal 

exit status 1

expected primary-expression before 'char'

Re: Need Help

bdunk@...
 

Hi Jack, 
tried your suggestion and got a new error message.

Arduino: 1.8.5 (Mac OS X), Board: "Arduino Nano, ATmega328P"

 

/Applications/Arduino-2.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino-2.app/Contents/Java/hardware -hardware /Users/albertdunk/Library/Arduino15/packages -tools /Applications/Arduino-2.app/Contents/Java/tools-builder -tools /Applications/Arduino-2.app/Contents/Java/hardware/tools/avr -tools /Users/albertdunk/Library/Arduino15/packages -built-in-libraries /Applications/Arduino-2.app/Contents/Java/libraries -libraries /Users/albertdunk/Documents/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10805 -build-path /var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017 -warnings=all -build-cache /var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_cache_642020 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Users/albertdunk/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avrdude.path=/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -prefs=runtime.tools.avr-gcc.path=/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -verbose /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino

/Applications/Arduino-2.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino-2.app/Contents/Java/hardware -hardware /Users/albertdunk/Library/Arduino15/packages -tools /Applications/Arduino-2.app/Contents/Java/tools-builder -tools /Applications/Arduino-2.app/Contents/Java/hardware/tools/avr -tools /Users/albertdunk/Library/Arduino15/packages -built-in-libraries /Applications/Arduino-2.app/Contents/Java/libraries -libraries /Users/albertdunk/Documents/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10805 -build-path /var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017 -warnings=all -build-cache /var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_cache_642020 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Users/albertdunk/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avrdude.path=/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -prefs=runtime.tools.avr-gcc.path=/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -verbose /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino

Using board 'nano' from platform in folder: /Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21

Using core 'arduino' from platform in folder: /Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21

Detecting libraries used...

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp" -o "/dev/null"

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR  "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp" -o "/dev/null"

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR  "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp" -o "/dev/null"

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR  "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "-I/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src" "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp" -o "/dev/null"

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR  "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "-I/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src" "/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src/Wire.cpp" -o "/dev/null"

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "-I/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src" "/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src/utility/twi.c" -o "/dev/null"

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR  "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "-I/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src" "/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.cpp" -o "/dev/null"

Generating function prototypes...

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "-I/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src" "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp" -o "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/preproc/ctags_target_for_gcc_minus_e.cpp"

"/Applications/Arduino-2.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/preproc/ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR  "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "-I/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src" "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp" -o "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp.o"

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:34:0:

/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src/EEPROM.h:43:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

     operator const uint8_t() const       { return **this; }

                             ^

/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src/EEPROM.h:92:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

     operator const int() const          { return index; }

                         ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino: In function 'void active_delay(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:235:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

   while (millis() - timeStart <= delay_by) {

                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino: In function 'void setFrequency(long unsigned int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:295:12: warning: unused variable 'osc_f' [-Wunused-variable]

   uint64_t osc_f, firstOscillator, secondOscillator;

            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:295:19: warning: unused variable 'firstOscillator' [-Wunused-variable]

   uint64_t osc_f, firstOscillator, secondOscillator;

                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:295:36: warning: unused variable 'secondOscillator' [-Wunused-variable]

   uint64_t osc_f, firstOscillator, secondOscillator;

                                    ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino: In function 'void startTx(byte)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:319:17: warning: unused variable 'tx_freq' [-Wunused-variable]

   unsigned long tx_freq = 0;  

                 ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino: In function 'void checkButton()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:434:7: warning: unused variable 'i' [-Wunused-variable]

   int i, t1, t2, knob, new_knob;

       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:434:10: warning: unused variable 't1' [-Wunused-variable]

   int i, t1, t2, knob, new_knob;

          ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:434:14: warning: unused variable 't2' [-Wunused-variable]

   int i, t1, t2, knob, new_knob;

              ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:434:18: warning: unused variable 'knob' [-Wunused-variable]

   int i, t1, t2, knob, new_knob;

                  ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:434:24: warning: unused variable 'new_knob' [-Wunused-variable]

   int i, t1, t2, knob, new_knob;

                       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino: In function 'void doRIT()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:495:17: warning: unused variable 'newFreq' [-Wunused-variable]

   unsigned long newFreq;

                 ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino: In function 'void setup()':

ubitx_v4.3_code:637: error: expected primary-expression before 'char'

   printLine2(char*)"uBITX v4.3"); 

              ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino: In function 'void factory_alignment()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:30:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("Setup Aborted");

                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:37:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   printLine2("#2 BFO");

                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:44:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("Setup Aborted");

                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:48:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("#3:Test 3.5MHz");

                             ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:59:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("#4:Test 7MHz");

                           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:69:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("#5:Test 14MHz");

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:80:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("#6:Test 28MHz");

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:89:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("Alignment done");

                             ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int menuBand(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:67:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   printLine2("Band Select   \x7E");

                                    ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:68:4: warning: return-statement with no value, in function returning 'int' [-fpermissive]

    return;

    ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:71:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("Band Select:");

                           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:110:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("");

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:60:7: warning: unused variable 'band' [-Wunused-variable]

   int band;

       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:61:17: warning: unused variable 'offset' [-Wunused-variable]

   unsigned long offset;

                 ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuRitToggle(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:119:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

       printLine2("RIT On \x7E Off");

                                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:121:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("RIT Off \x7E On");

                                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:127:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("RIT is On");

                             ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:132:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("RIT is Off");

                             ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:136:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("");

                  ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuVfoToggle(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:147:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("VFO A \x7E B");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:149:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("VFO B \x7E A");

                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:184:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("");

                  ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSidebandToggle(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:194:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("USB \x7E LSB");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:196:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("LSB \x7E USB");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:201:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("LSB Selected");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:203:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("");

                    ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:207:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("USB Selected");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:209:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("");

                    ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSplitToggle(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:228:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Split Off \x7E On");

                                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:230:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Split On \x7E Off");

                                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:235:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Split ON");

                           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:241:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Split Off");

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:244:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("");

                  ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int menuCWSpeed(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:262:6: warning: return-statement with no value, in function returning 'int' [-fpermissive]

      return;

      ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:296:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

     wpm = getValueByKnob(1, 100, 1,  wpm, "CW: ", " WPM>");

                                                         ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:296:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:298:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("CW Speed set!");

                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:303:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("");

                  ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:251:9: warning: unused variable 'knob' [-Wunused-variable]

     int knob = 0;

         ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuExit(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:311:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Exit Menu     \x7E");

                                       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:314:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Exiting...");

                             ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:316:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("");

                    ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int menuSetup(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:329:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Settings      \x7E");

                                       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:331:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Settings \x7E Off");

                                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:335:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Settings On");

                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:339:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Settings Off");      

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:345:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   printLine2("");

                 ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int calibrateClock()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:413:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("Calibration set!");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:422:1: warning: no return statement in function returning non-void [-Wreturn-type]

 }

 ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int menuSetupCalibration(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:429:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("Setup:Calibrate\x7E");

                                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:433:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine1("Press PTT & tune");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:434:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   printLine2("to exactly 10 MHz");

                                 ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:425:7: warning: unused variable 'knob' [-Wunused-variable]

   int knob = 0;

       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:426:11: warning: unused variable 'prev_calibration' [-Wunused-variable]

   int32_t prev_calibration;

           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSetupCarrier(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:459:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Setup:BFO     \x7E");

                                       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:464:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine1("Tune to best Signal");  

                                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:465:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("Press to confirm. ");

                                  ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:489:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("Carrier set!   ");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:496:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("");

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSetupCwTone(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:505:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("Setup:CW Tone \x7E");

                                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:510:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   printLine1("Tune CW tone");  

                           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:511:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("PTT to confirm. ");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:537:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("Sidetone set!   ");

                                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:544:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("");  

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSetupCwDelay(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:554:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("Setup:CW Delay \x7E");

                                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:560:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   cwDelayTime = getValueByKnob(10, 1000, 50, cwDelayTime, "CW Delay>", " msec");

                                                                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:560:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:562:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   printLine1("CW Delay Set!");  

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:563:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("");

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:550:7: warning: unused variable 'knob' [-Wunused-variable]

   int knob = 0;

       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSetupKeyer(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:574:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Setup:CW(Hand)\x7E");

                                      ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:576:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Setup:CW(IambA)\x7E");

                                       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:578:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Setup:CW(IambB)\x7E");    

                                       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:603:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine1("Hand Key?");

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:605:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine1("Iambic A?");

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:607:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine1("Iambic B?"); 

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:624:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine1("Keyer Set!");

                         ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:626:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine1("");

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:629:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("");

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuReadADC(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:638:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("6:Setup>Read ADC>");

                                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:649:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine1("");

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_si5351.ino: In function 'void si5351bx_init()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_si5351.ino:65:11: warning: unused variable 'reg' [-Wunused-variable]

   uint8_t reg;  uint32_t msxp1;

           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino: In function 'void initMeter()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:45:35: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(1, s_meter_bitmap);

                                   ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:46:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(2, s_meter_bitmap + 8);

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:47:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(3, s_meter_bitmap + 16);

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:48:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(4, s_meter_bitmap + 24);

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:49:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(5, s_meter_bitmap + 32);

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:50:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(6, s_meter_bitmap + 40);

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:51:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(0, s_meter_bitmap + 48);

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:52:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(7, s_meter_bitmap + 56);  

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino: In function 'void drawMeter(int8_t)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:64:11: warning: unused variable 'best' [-Wunused-variable]

   int16_t best, i, s;

           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino: In function 'void printLine(char, char*)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:86:35: warning: array subscript has type 'char' [-Wchar-subscripts]

   if (strcmp(c, printBuff[linenmbr])) {     // only refresh the display when there was a change

                                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:89:30: warning: array subscript has type 'char' [-Wchar-subscripts]

    strcpy(printBuff[linenmbr], c);

                             ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino: In function 'int enc_read()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:209:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

   while (millis() < stop_by) { // check if the previous state was stable

                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int menuSetupCalibration(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:437:1: warning: control reaches end of non-void function [-Wreturn-type]

 }

 ^

Using library Wire at version 1.0 in folder: /Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire

Using library EEPROM at version 2.0 in folder: /Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM

Using library LiquidCrystal at version 1.0.7 in folder: /Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal 

exit status 1

expected primary-expression before 'char'

Re: Need Help

Karl Heinz Kremer, K5KHK
 

In that case, chances are that you don't have the driver for the CH340 installed on your Mac. I think I got mine from here:

http://www.wch.cn/download/CH341SER_MAC_ZIP.html

Once you install the driver, macOS should recognize the serial port and give you the option to select it in the Arduino IDE. 

--
Karl Heinz - K5KHK

Re: Need Help

bdunk@...
 



Arduino: 1.8.5 (Mac OS X), Board: "Arduino Nano, ATmega328P"

 

/Applications/Arduino-2.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino-2.app/Contents/Java/hardware -hardware /Users/albertdunk/Library/Arduino15/packages -tools /Applications/Arduino-2.app/Contents/Java/tools-builder -tools /Applications/Arduino-2.app/Contents/Java/hardware/tools/avr -tools /Users/albertdunk/Library/Arduino15/packages -built-in-libraries /Applications/Arduino-2.app/Contents/Java/libraries -libraries /Users/albertdunk/Documents/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10805 -build-path /var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017 -warnings=all -build-cache /var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_cache_642020 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Users/albertdunk/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avrdude.path=/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -prefs=runtime.tools.avr-gcc.path=/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -verbose /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino

/Applications/Arduino-2.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino-2.app/Contents/Java/hardware -hardware /Users/albertdunk/Library/Arduino15/packages -tools /Applications/Arduino-2.app/Contents/Java/tools-builder -tools /Applications/Arduino-2.app/Contents/Java/hardware/tools/avr -tools /Users/albertdunk/Library/Arduino15/packages -built-in-libraries /Applications/Arduino-2.app/Contents/Java/libraries -libraries /Users/albertdunk/Documents/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10805 -build-path /var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017 -warnings=all -build-cache /var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_cache_642020 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Users/albertdunk/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avrdude.path=/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -prefs=runtime.tools.avr-gcc.path=/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -verbose /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino

Using board 'nano' from platform in folder: /Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21

Using core 'arduino' from platform in folder: /Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21

Detecting libraries used...

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp" -o "/dev/null"

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR  "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp" -o "/dev/null"

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR  "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp" -o "/dev/null"

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR  "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "-I/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src" "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp" -o "/dev/null"

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR  "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "-I/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src" "/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src/Wire.cpp" -o "/dev/null"

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "-I/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src" "/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src/utility/twi.c" -o "/dev/null"

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR  "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "-I/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src" "/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.cpp" -o "/dev/null"

Generating function prototypes...

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "-I/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src" "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp" -o "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/preproc/ctags_target_for_gcc_minus_e.cpp"

"/Applications/Arduino-2.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/preproc/ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"/Users/albertdunk/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR  "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/eightanaloginputs" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "-I/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src" "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp" -o "/var/folders/0v/c7960l9971gf38y53gt7ky2c0000gn/T/arduino_build_468017/sketch/ubitx_v4.3_code.ino.cpp.o"

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:34:0:

/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src/EEPROM.h:43:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

     operator const uint8_t() const       { return **this; }

                             ^

/Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src/EEPROM.h:92:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

     operator const int() const          { return index; }

                         ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino: In function 'void active_delay(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:235:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

   while (millis() - timeStart <= delay_by) {

                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino: In function 'void setFrequency(long unsigned int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:295:12: warning: unused variable 'osc_f' [-Wunused-variable]

   uint64_t osc_f, firstOscillator, secondOscillator;

            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:295:19: warning: unused variable 'firstOscillator' [-Wunused-variable]

   uint64_t osc_f, firstOscillator, secondOscillator;

                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:295:36: warning: unused variable 'secondOscillator' [-Wunused-variable]

   uint64_t osc_f, firstOscillator, secondOscillator;

                                    ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino: In function 'void startTx(byte)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:319:17: warning: unused variable 'tx_freq' [-Wunused-variable]

   unsigned long tx_freq = 0;  

                 ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino: In function 'void checkButton()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:434:7: warning: unused variable 'i' [-Wunused-variable]

   int i, t1, t2, knob, new_knob;

       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:434:10: warning: unused variable 't1' [-Wunused-variable]

   int i, t1, t2, knob, new_knob;

          ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:434:14: warning: unused variable 't2' [-Wunused-variable]

   int i, t1, t2, knob, new_knob;

              ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:434:18: warning: unused variable 'knob' [-Wunused-variable]

   int i, t1, t2, knob, new_knob;

                  ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:434:24: warning: unused variable 'new_knob' [-Wunused-variable]

   int i, t1, t2, knob, new_knob;

                       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino: In function 'void doRIT()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:495:17: warning: unused variable 'newFreq' [-Wunused-variable]

   unsigned long newFreq;

                 ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino: In function 'void setup()':

ubitx_v4.3_code:637: error: expected primary-expression before 'char'

   printLine2(char*)"uBITX v4.3"); 

              ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino: In function 'void factory_alignment()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:30:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("Setup Aborted");

                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:37:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   printLine2("#2 BFO");

                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:44:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("Setup Aborted");

                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:48:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("#3:Test 3.5MHz");

                             ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:59:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("#4:Test 7MHz");

                           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:69:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("#5:Test 14MHz");

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:80:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("#6:Test 28MHz");

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:89:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("Alignment done");

                             ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int menuBand(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:67:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   printLine2("Band Select   \x7E");

                                    ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:68:4: warning: return-statement with no value, in function returning 'int' [-fpermissive]

    return;

    ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:71:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("Band Select:");

                           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:110:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("");

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:60:7: warning: unused variable 'band' [-Wunused-variable]

   int band;

       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:61:17: warning: unused variable 'offset' [-Wunused-variable]

   unsigned long offset;

                 ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuRitToggle(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:119:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

       printLine2("RIT On \x7E Off");

                                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:121:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("RIT Off \x7E On");

                                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:127:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("RIT is On");

                             ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:132:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("RIT is Off");

                             ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:136:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("");

                  ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuVfoToggle(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:147:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("VFO A \x7E B");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:149:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("VFO B \x7E A");

                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:184:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("");

                  ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSidebandToggle(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:194:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("USB \x7E LSB");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:196:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("LSB \x7E USB");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:201:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("LSB Selected");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:203:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("");

                    ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:207:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("USB Selected");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:209:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("");

                    ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSplitToggle(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:228:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Split Off \x7E On");

                                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:230:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Split On \x7E Off");

                                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:235:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Split ON");

                           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:241:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Split Off");

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:244:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("");

                  ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int menuCWSpeed(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:262:6: warning: return-statement with no value, in function returning 'int' [-fpermissive]

      return;

      ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:296:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

     wpm = getValueByKnob(1, 100, 1,  wpm, "CW: ", " WPM>");

                                                         ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:296:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:298:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("CW Speed set!");

                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:303:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("");

                  ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:251:9: warning: unused variable 'knob' [-Wunused-variable]

     int knob = 0;

         ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuExit(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:311:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Exit Menu     \x7E");

                                       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:314:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Exiting...");

                             ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:316:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("");

                    ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int menuSetup(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:329:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Settings      \x7E");

                                       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:331:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Settings \x7E Off");

                                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:335:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Settings On");

                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:339:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Settings Off");      

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:345:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   printLine2("");

                 ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int calibrateClock()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:413:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("Calibration set!");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:422:1: warning: no return statement in function returning non-void [-Wreturn-type]

 }

 ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int menuSetupCalibration(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:429:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("Setup:Calibrate\x7E");

                                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:433:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine1("Press PTT & tune");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:434:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   printLine2("to exactly 10 MHz");

                                 ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:425:7: warning: unused variable 'knob' [-Wunused-variable]

   int knob = 0;

       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:426:11: warning: unused variable 'prev_calibration' [-Wunused-variable]

   int32_t prev_calibration;

           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSetupCarrier(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:459:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Setup:BFO     \x7E");

                                       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:464:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine1("Tune to best Signal");  

                                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:465:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("Press to confirm. ");

                                  ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:489:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("Carrier set!   ");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:496:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("");

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSetupCwTone(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:505:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("Setup:CW Tone \x7E");

                                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:510:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   printLine1("Tune CW tone");  

                           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:511:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("PTT to confirm. ");

                                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:537:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("Sidetone set!   ");

                                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:544:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("");  

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSetupCwDelay(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:554:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("Setup:CW Delay \x7E");

                                     ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:560:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   cwDelayTime = getValueByKnob(10, 1000, 50, cwDelayTime, "CW Delay>", " msec");

                                                                               ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:560:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:562:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   printLine1("CW Delay Set!");  

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:563:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("");

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:550:7: warning: unused variable 'knob' [-Wunused-variable]

   int knob = 0;

       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSetupKeyer(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:574:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Setup:CW(Hand)\x7E");

                                      ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:576:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Setup:CW(IambA)\x7E");

                                       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:578:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine2("Setup:CW(IambB)\x7E");    

                                       ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:603:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine1("Hand Key?");

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:605:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine1("Iambic A?");

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:607:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

      printLine1("Iambic B?"); 

                            ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:624:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine1("Keyer Set!");

                         ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:626:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine1("");

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:629:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine2("");

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuReadADC(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:638:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    printLine2("6:Setup>Read ADC>");

                                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:649:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

  printLine1("");

                ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_si5351.ino: In function 'void si5351bx_init()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_si5351.ino:65:11: warning: unused variable 'reg' [-Wunused-variable]

   uint8_t reg;  uint32_t msxp1;

           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino: In function 'void initMeter()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:45:35: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(1, s_meter_bitmap);

                                   ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:46:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(2, s_meter_bitmap + 8);

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:47:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(3, s_meter_bitmap + 16);

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:48:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(4, s_meter_bitmap + 24);

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:49:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(5, s_meter_bitmap + 32);

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:50:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(6, s_meter_bitmap + 40);

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:51:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(0, s_meter_bitmap + 48);

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:52:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

   lcd.createChar(7, s_meter_bitmap + 56);  

                                    ^

In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:

/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'

   void createChar(uint8_t, uint8_t[]);

        ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino: In function 'void drawMeter(int8_t)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:64:11: warning: unused variable 'best' [-Wunused-variable]

   int16_t best, i, s;

           ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino: In function 'void printLine(char, char*)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:86:35: warning: array subscript has type 'char' [-Wchar-subscripts]

   if (strcmp(c, printBuff[linenmbr])) {     // only refresh the display when there was a change

                                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:89:30: warning: array subscript has type 'char' [-Wchar-subscripts]

    strcpy(printBuff[linenmbr], c);

                             ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino: In function 'int enc_read()':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:209:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

   while (millis() < stop_by) { // check if the previous state was stable

                   ^

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int menuSetupCalibration(int)':

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:437:1: warning: control reaches end of non-void function [-Wreturn-type]

 }

 ^

Using library Wire at version 1.0 in folder: /Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire

Using library EEPROM at version 2.0 in folder: /Users/albertdunk/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM

Using library LiquidCrystal at version 1.0.7 in folder: /Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal 

exit status 1

expected primary-expression before 'char'

Re: Need Help

Jack, W8TEE
 

Albert, Karl:

Consider this error in your listing:

/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:637:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine2("uBITX v4.3");

The "deprecated conversion" warning is caused because you are passing the println2() function a string constant (i.e., the quoted message) and not a character pointer the function expects. Karl is right; you don't have to fix it. However, try this change and see if the warning goes away:

  printLine2( (char *) "uBITX v4.3");

The cast forces the attribute list to a character pointer from a constant char pointer.


Jack, W8TEE


On Tuesday, August 7, 2018, 4:27:12 PM EDT, bdunk@... <bdunk@...> wrote:


More errors!

Arduino: 1.8.5 (Mac OS X), Board: "Arduino Nano, ATmega328P"
 
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino: In function 'void setup()':
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:637:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine2("uBITX v4.3"); 
                          ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino: In function 'void factory_alignment()':
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:30:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     printLine2("Setup Aborted");
                               ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:37:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine2("#2 BFO");
                      ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:44:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     printLine2("Setup Aborted");
                               ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:48:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine2("#3:Test 3.5MHz");
                              ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:59:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine2("#4:Test 7MHz");
                            ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:69:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine2("#5:Test 14MHz");
                             ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:80:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine2("#6:Test 28MHz");
                             ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_factory_alignment.ino:89:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine2("Alignment done");
                              ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int menuBand(int)':
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:67:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    printLine2("Band Select    \x7E");
                                    ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:68:4: warning: return-statement with no value, in function returning 'int' [-fpermissive]
    return;
    ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:71:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine2("Band Select:");
                            ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:110:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine2("");
                ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuRitToggle(int)':
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:119:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("RIT On \x7E Off");
                                   ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:121:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("RIT Off \x7E On");
                                   ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:127:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("RIT is On");
                             ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:132:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("RIT is Off");
                              ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:136:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     printLine2("");
                  ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuVfoToggle(int)':
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:147:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("VFO A \x7E B");
                                ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:149:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("VFO B \x7E A");
                                ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:184:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     printLine2("");
                  ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSidebandToggle(int)':
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:194:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("USB \x7E LSB");
                                ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:196:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("LSB \x7E USB");
                                ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:201:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("LSB Selected");
                                ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:203:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("");
                    ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:207:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("USB Selected");
                                ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:209:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("");
                    ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSplitToggle(int)':
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:228:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("Split Off \x7E On");
                                     ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:230:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("Split On \x7E Off");
                                     ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:235:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("Split ON");
                            ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:241:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("Split Off");
                             ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:244:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     printLine2("");
                  ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int menuCWSpeed(int)':
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:262:6: warning: return-statement with no value, in function returning 'int' [-fpermissive]
      return;
      ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:296:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     wpm = getValueByKnob(1, 100, 1,  wpm, "CW: ", " WPM>");
                                                          ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:296:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:298:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     printLine2("CW Speed set!");
                               ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:303:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     printLine2("");
                  ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuExit(int)':
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:311:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("Exit Menu      \x7E");
                                       ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:314:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("Exiting...");
                              ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:316:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("");
                    ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int menuSetup(int)':
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:329:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("Settings       \x7E");
                                       ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:331:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("Settings \x7E Off");
                                     ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:335:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("Settings On");
                               ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:339:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("Settings Off");      
                                ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:345:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    printLine2("");
                 ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int calibrateClock()':
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:413:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine2("Calibration set!");
                                ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'int menuSetupCalibration(int)':
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:429:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     printLine2("Setup:Calibrate\x7E");
                                     ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:433:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine1("Press PTT & tune");
                                ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:434:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine2("to exactly 10 MHz");
                                 ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSetupCarrier(int)':
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:459:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("Setup:BFO      \x7E");
                                       ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:464:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine1("Tune to best Signal");  
                                   ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:465:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine2("Press to confirm. ");
                                  ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:489:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine2("Carrier set!    ");
                                ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:496:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine2("");
                ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSetupCwTone(int)':
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:505:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     printLine2("Setup:CW Tone  \x7E");
                                     ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:510:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine1("Tune CW tone");  
                            ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:511:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine2("PTT to confirm. ");
                                ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:537:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     printLine2("Sidetone set!    ");
                                   ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:544:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine2("");  
                ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSetupCwDelay(int)':
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:554:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     printLine2("Setup:CW Delay \x7E");
                                     ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:560:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   cwDelayTime = getValueByKnob(10, 1000, 50,  cwDelayTime, "CW Delay>", " msec");
                                                                                ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:560:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:562:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine1("CW Delay Set!");  
                             ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:563:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine2("");
                ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuSetupKeyer(int)':
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:574:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("Setup:CW(Hand)\x7E");
                                      ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:576:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("Setup:CW(IambA)\x7E");
                                       ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:578:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine2("Setup:CW(IambB)\x7E");    
                                       ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:603:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine1("Hand Key?");
                             ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:605:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine1("Iambic A?");
                             ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:607:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
       printLine1("Iambic B?");  
                             ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:624:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine1("Keyer Set!");
                          ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:626:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine1("");
                ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:629:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine2("");
                ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino: In function 'void menuReadADC(int)':
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:638:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     printLine2("6:Setup>Read ADC>");
                                   ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_menu.ino:649:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   printLine1("");
                ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino: In function 'void initMeter()':
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:45:35: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
   lcd.createChar(1, s_meter_bitmap);
                                   ^
In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:
/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'
   void createChar(uint8_t, uint8_t[]);
        ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:46:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
   lcd.createChar(2, s_meter_bitmap + 8);
                                    ^
In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:
/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'
   void createChar(uint8_t, uint8_t[]);
        ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:47:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
   lcd.createChar(3, s_meter_bitmap + 16);
                                    ^
In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:
/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'
   void createChar(uint8_t, uint8_t[]);
        ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:48:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
   lcd.createChar(4, s_meter_bitmap + 24);
                                    ^
In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:
/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'
   void createChar(uint8_t, uint8_t[]);
        ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:49:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
   lcd.createChar(5, s_meter_bitmap + 32);
                                    ^
In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:
/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'
   void createChar(uint8_t, uint8_t[]);
        ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:50:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
   lcd.createChar(6, s_meter_bitmap + 40);
                                    ^
In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:
/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'
   void createChar(uint8_t, uint8_t[]);
        ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:51:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
   lcd.createChar(0, s_meter_bitmap + 48);
                                    ^
In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:
/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'
   void createChar(uint8_t, uint8_t[]);
        ^
/Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_ui.ino:52:36: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
   lcd.createChar(7, s_meter_bitmap + 56);  
                                    ^
In file included from /Users/albertdunk/Desktop/ubitx4-master/ubitx_v4.3_code/ubitx_v4.3_code.ino:96:0:
/Applications/Arduino-2.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'
   void createChar(uint8_t, uint8_t[]);
        ^
Sketch uses 17544 bytes (57%) of program storage space. Maximum is 30720 bytes.
Global variables use 1455 bytes (71%) of dynamic memory, leaving 593 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't open device "/dev/cu.usbmodem1461": No such file or directory
An error occurred while uploading the sketch
 
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
 

Re: Need Help

Gordon Gibby <ggibby@...>
 

Thanks!!


On Aug 7, 2018, at 16:56, Karl Heinz Kremer, K5KHK <khk@...> wrote:

Yes, you can install the Arduino IDE on a Pi. See here for instructions (they are 9 months old, so some version numbers may be out of date, but in general it should work):

https://www.raspberrypi.org/magpi/program-arduino-uno-raspberry-pi/
--
Karl Heinz - K5KHK

Re: BITX40 LPF mod

Arv Evans
 

Giles

Price is right.  Size is right.  Could be an interesting part of a lab-grade analyzer.

Arv
_._


On Tue, Aug 7, 2018 at 2:52 PM Gilles Delpech <gilles.f1bfu@...> wrote:
Arv

I find an 

AD831 Low Distortion High Frequency Mixer Module Active 500 MHz Balanced Mixer on China shop.


for the spectrum analyser with VFO/SigGen QRP Labs.

Gilles


Le mar. 7 août 2018 à 21:47, Arv Evans <arvid.evans@...> a écrit :
Jerry

Lots of ways to skin the cat...even Schroedinger's variety.

The little sweepy test set that I built started as an experiment, and just keeps evolving.
Looking at audio with fldgi or argo is revealing.  At present the mixer is just 4 diodes and
a pair of FT37-43 cores, but it would not take much work to change that to a Gilbert-cell.
I have several AD8307 detectors available and may add those to the design at a later date.
Eventually the design may stabilize enough to warrant a PCB, chassis, and technical
writeup, but I'm not sure when that will be.  It is just too much fun to keep experimenting.

The series RLC traps for taming BITX40 harmonics were a total unknown until yesterday
when I tried it in LTSpice.  Results are quite encouraging.  I'm assuming that power
handling in the traps will be dependent on how strong the harmonics might be...more
experimenting to be done in that area.

I'm slowly working on a Frankenstein version of Raduino.  My BITX40 is a very early
version with analog VFO that wants to drift a bit.  First change was to add Huff & Puff
stabilization but it really needs a digital frequency display.  Work direction for this is a
74HC4066 pre-scaler and Arduino Nano to time interrupts.  But the 12 MHz USB/TTL
converter oscillator may be problematic for a system with a 12 MHz BFO and IF filter.
Several Arduino Pro-Mini with real 16 MHz crystal are available so will probably port
the Nano code to the Pro-mini platform.  This eliminates the 12 MHz oscillator as long
as the programming dongle is unplugged, but that eliminates CAT capability unless
it is done with an older PC that still has RS-232 for talking directly to the Arduino.  That
then requires a TTL-to/from-RS-232 voltage converter.   Yet another project.

Just way too many projects to make any real progress on any specific one.   8-)

Arv
_._



On Tue, Aug 7, 2018 at 11:37 AM Jerry Gaffke via Groups.Io <jgaffke=yahoo.com@groups.io> wrote:
Yes, I've been following what you are doing with interest.
A significant contribution if knocking down two harmonics can be done with just a couple extra caps.

The original intent on the uBitx was to get by with fewer filters by assuming the push-pull final
would have a negligible second harmonic.  It seemed Farhan got that to work,
but it had to be adjusted very carefully. 
I'd expect the second harmonic to not be much of an issue.

On the Bitx40, the second harmonic is quite severe due to how unbalanced the final is.
With only 100ma of quiescent current, the IRF510 is not providing much ooomph on low going peaks.

I'm seriously considering putting together a signal analyzer along the lines of your earlier post.
    Step_Attenuator -- 50mhz_LPF -- diode mixer -- MMIC_Amp -- PX1002_SAW -- ad8307 -- Nano_ADC

In parallel with the AD8307, add an SA612A plus audio amp so I can hear it.
There's lots of information in that audio if you know what to expect.

Jerry, KE7ER
 

On Tue, Aug 7, 2018 at 09:19 AM, Arv Evans wrote:
This morning I posted more information for using an LCR series trap on the output to suck
out 2nd harmonic energy.  This too seems to work, at least in the LTSpice simulator.  Will
probably be trying this in the real circuit sometime in the next week or so. 

Re: Need Help

bdunk@...
 

Good afternoon Karl,

Thank for replying,

The only port I see in the list is  /dev/cu.Bluetooth-incoming-Port.

Best regards,

Albert VE3TYS

Re: Accidental Calibrate #ubitx #calibration

 

Great news Frank, glad it all worked out for you.

Joel
N6ALT

Re: Need Help

Karl Heinz Kremer, K5KHK
 

Yes, you can install the Arduino IDE on a Pi. See here for instructions (they are 9 months old, so some version numbers may be out of date, but in general it should work):

https://www.raspberrypi.org/magpi/program-arduino-uno-raspberry-pi/
--
Karl Heinz - K5KHK

Re: BITX40 LPF mod

F1BFU - Fr - 79
 

Arv

I find an 

AD831 Low Distortion High Frequency Mixer Module Active 500 MHz Balanced Mixer on China shop.


for the spectrum analyser with VFO/SigGen QRP Labs.

Gilles


Le mar. 7 août 2018 à 21:47, Arv Evans <arvid.evans@...> a écrit :
Jerry

Lots of ways to skin the cat...even Schroedinger's variety.

The little sweepy test set that I built started as an experiment, and just keeps evolving.
Looking at audio with fldgi or argo is revealing.  At present the mixer is just 4 diodes and
a pair of FT37-43 cores, but it would not take much work to change that to a Gilbert-cell.
I have several AD8307 detectors available and may add those to the design at a later date.
Eventually the design may stabilize enough to warrant a PCB, chassis, and technical
writeup, but I'm not sure when that will be.  It is just too much fun to keep experimenting.

The series RLC traps for taming BITX40 harmonics were a total unknown until yesterday
when I tried it in LTSpice.  Results are quite encouraging.  I'm assuming that power
handling in the traps will be dependent on how strong the harmonics might be...more
experimenting to be done in that area.

I'm slowly working on a Frankenstein version of Raduino.  My BITX40 is a very early
version with analog VFO that wants to drift a bit.  First change was to add Huff & Puff
stabilization but it really needs a digital frequency display.  Work direction for this is a
74HC4066 pre-scaler and Arduino Nano to time interrupts.  But the 12 MHz USB/TTL
converter oscillator may be problematic for a system with a 12 MHz BFO and IF filter.
Several Arduino Pro-Mini with real 16 MHz crystal are available so will probably port
the Nano code to the Pro-mini platform.  This eliminates the 12 MHz oscillator as long
as the programming dongle is unplugged, but that eliminates CAT capability unless
it is done with an older PC that still has RS-232 for talking directly to the Arduino.  That
then requires a TTL-to/from-RS-232 voltage converter.   Yet another project.

Just way too many projects to make any real progress on any specific one.   8-)

Arv
_._



On Tue, Aug 7, 2018 at 11:37 AM Jerry Gaffke via Groups.Io <jgaffke=yahoo.com@groups.io> wrote:
Yes, I've been following what you are doing with interest.
A significant contribution if knocking down two harmonics can be done with just a couple extra caps.

The original intent on the uBitx was to get by with fewer filters by assuming the push-pull final
would have a negligible second harmonic.  It seemed Farhan got that to work,
but it had to be adjusted very carefully. 
I'd expect the second harmonic to not be much of an issue.

On the Bitx40, the second harmonic is quite severe due to how unbalanced the final is.
With only 100ma of quiescent current, the IRF510 is not providing much ooomph on low going peaks.

I'm seriously considering putting together a signal analyzer along the lines of your earlier post.
    Step_Attenuator -- 50mhz_LPF -- diode mixer -- MMIC_Amp -- PX1002_SAW -- ad8307 -- Nano_ADC

In parallel with the AD8307, add an SA612A plus audio amp so I can hear it.
There's lots of information in that audio if you know what to expect.

Jerry, KE7ER
 

On Tue, Aug 7, 2018 at 09:19 AM, Arv Evans wrote:
This morning I posted more information for using an LCR series trap on the output to suck
out 2nd harmonic energy.  This too seems to work, at least in the LTSpice simulator.  Will
probably be trying this in the real circuit sometime in the next week or so. 

Re: Need Help

Gordon Gibby <ggibby@...>
 

​Karl -- you seem to know a lot about this --- can this be done from a raspberry pi running Rasbian?


thanks,

gordon



From: BITX20@groups.io <BITX20@groups.io> on behalf of Karl Heinz Kremer, K5KHK <khk@...>
Sent: Tuesday, August 7, 2018 4:49 PM
To: BITX20@groups.io
Subject: Re: [BITX20] Need Help
 
The key is in the last lines:

Sketch uses 17544 bytes (57%) of program storage space. Maximum is 30720 bytes.
Global variables use 1455 bytes (71%) of dynamic memory, leaving 593 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't open device "/dev/cu.usbmodem1461": No such file or directory
An error occurred while uploading the sketch

Everything compiled fine, but you got a whole bunch of warnings. Warnings are not errors, and in most cases you cannot even do anything about them - unless you want to rewrite the libraries the code uses. 

What is wrong however is that the compiled sketch cannot be uploaded to the Arduino. The error message is in bold in the few lines I quoted. 

Did you set the correct port in the Arduino "Tools>Port" menu? You should see somehting like this:



If there is no checkmark in front of the serial port you want to use, it was not selected. On all the Arduino Nano's I've used with my Macs, they never advertised their serial port as "usbmodem", it's always "cu.wchusbserialNNNN", so I would suspect that you did not select the correct serial port. 
--
Karl Heinz - K5KHK

Re: Need Help

Karl Heinz Kremer, K5KHK
 

The key is in the last lines:

Sketch uses 17544 bytes (57%) of program storage space. Maximum is 30720 bytes.
Global variables use 1455 bytes (71%) of dynamic memory, leaving 593 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't open device "/dev/cu.usbmodem1461": No such file or directory
An error occurred while uploading the sketch

Everything compiled fine, but you got a whole bunch of warnings. Warnings are not errors, and in most cases you cannot even do anything about them - unless you want to rewrite the libraries the code uses. 

What is wrong however is that the compiled sketch cannot be uploaded to the Arduino. The error message is in bold in the few lines I quoted. 

Did you set the correct port in the Arduino "Tools>Port" menu? You should see somehting like this:



If there is no checkmark in front of the serial port you want to use, it was not selected. On all the Arduino Nano's I've used with my Macs, they never advertised their serial port as "usbmodem", it's always "cu.wchusbserialNNNN", so I would suspect that you did not select the correct serial port. 
--
Karl Heinz - K5KHK

Re: One question only...

K5ESS
 

Probably has an exception per the great-great-great grandfather clause.

Mike

K5ESS

 

From: BITX20@groups.io [mailto:BITX20@groups.io] On Behalf Of Christopher Miller
Sent: Tuesday, August 7, 2018 1:13 AM
To: BITX20@groups.io
Subject: Re: [BITX20] One question only...

 

I wonder what the spurious emissions were like on this! The ARRL owns a spark gap transmitter that is housed in W1AW for what it is worth. They dont use it, though I think the time I was there they said they did once a year but whatever. I bet it is way worse than your uBitx. Enjoy!

 

On Mon, Aug 6, 2018 at 11:04 PM Timothy Fidler <engstr@...> wrote:

Belay all that .. Japanese LPF cct sent to the VK who is designing a replacement board.  It gets 5 bands out of three signals ie 00 is also interpreted as a command. as usual old Timmo Fidler went off half cocked but at least the archives kicked in.

Re: BITX40 LPF mod

Jerry Gaffke
 

Yes, I meant spectrum analyzer.
And definitely would have the tracking generator,
trivial now with multichannel signal generators like the si5351.

Though I've been thinking would be nice to include a way to get phase information as per
a signal analyzer, perhaps following the lead of the W5BIT Vector Impedance Analyzer (well described).
That's a technique also used by the Kees' AQRP VIA, though the AQRP device is using square waves.
But VIA capability is likely best kept a separate project. 

For occasional use a UART link to a PC for display is good enough,
fancy touch screen LCD a possible future option if it takes off.
Definitely need a way to get data from this new device out to the a host computer of some sort anyway.

Perhaps the Si5338 instead of the Si5351, more stable and possible to adapt for use into UHF.

I'd tend to use a $5 ARM chip with a decent 12 to 16 bit ADC instead of the development boards.
The development boards come and go with time, more so than the chips.
And have way more stuff on them than I need.

But could also include hooks to use most any offboard computer instead of the ARM chip,
anything from a Nano to an RPi.

Jerry, KE7ER



On Tue, Aug 7, 2018 at 12:59 PM, ajparent1/KB1GMX wrote:
On Tue, Aug 7, 2018 at 10:37 AM, Jerry Gaffke wrote:
I'm seriously considering putting together a signal analyzer along the lines of your earlier post.
    Step_Attenuator -- 50mhz_LPF -- diode mixer -- MMIC_Amp -- PX1002_SAW -- ad8307 -- Nano_ADC
Add a monchrome graphic display and you have a spectrum analyser! 
A 128 or 240x64 will do fine some need I2C other can be run with
4bit interface like the 1x16, 2x16 and 4x20 displays. or just get a
si5351 board from adafruit and a Nano and post to the computer
via the USB.   If you use the 5351 at another port you can do a
tracking generator.

Emits fx to port 0, measure fx...post to scale on local display or send via
USB to computer to pretty up.

If your really slick using the 5351 as both LO and tracking generator
its possible to emit at say the receiver input frequency and look at
the IF frequency (offset). Send here at Fa, listen there at Fa(+-n)! 
Many SAs can't do that!

Add the ADC8307 and audio baseband and you have a really useful tool.

Re: Accidental Calibrate #ubitx #calibration

EI_Frank
 

Joel,
Just wanted to thank you again for the advice.
I went ahead and uploaded the KD8CEC 1.08 firmware to the rig, then successfully calibrated the uBitx.
I was able to make a QSO with a station on the east coast of England, approx 370 km's from my QTH which is 10km's north of Dublin, Ireland.
So a great end to the Calibration Twilight Zone. :-) 
All the best, 73.
Frank