Topics

compiling firmware


Charles W. Powell
 

I have to admit that the libraries and error messages that occur with Arduinos I find baffling.  I am trying to compile my own code for the Hilltopper and below is the error set I get.  I think some of these errors can be ignored, but the Si5351 errors are killing the compile (I think).

So, first question, exactly WHICH Si5351 library do I need?

Second, is there some secret to figuring this out?  I have run into library problems with other projects as well (WHICH LCD LIBRARY???)

72

Charles - NK8O

Error messages:

Arduino: 1.8.5 (Mac OS X), Board: "SparkFun Pro Micro, ATmega32U4 (5V, 16 MHz)"
 
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/cwpowell/Library/Arduino15/packages -hardware /Users/cwpowell/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/cwpowell/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/cwpowell/Documents/Arduino/libraries -fqbn=SparkFun:avr:promicro:cpu=16MHzatmega32U4 -ide-version=10805 -build-path /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428 -warnings=all -build-cache /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_cache_578907 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avr-gcc.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.avrdude.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -verbose /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/cwpowell/Library/Arduino15/packages -hardware /Users/cwpowell/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/cwpowell/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/cwpowell/Documents/Arduino/libraries -fqbn=SparkFun:avr:promicro:cpu=16MHzatmega32U4 -ide-version=10805 -build-path /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428 -warnings=all -build-cache /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_cache_578907 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avr-gcc.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.avrdude.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -verbose /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino
Using board 'promicro' from platform in folder: /Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10
Using core 'arduino' from platform in folder: /Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21
Detecting libraries used...
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src/Wire.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src/utility/twi.c" -o "/dev/null"
Generating function prototypes...
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/preproc/ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp.o"
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:3:0:
/Users/cwpowell/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/cwpowell/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/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void setup()':
_4SQRP-_released_code_V2.0:184: error: no matching function for call to 'Si5351::init(int, int, int)'
    si5351.init(SI5351_CRYSTAL_LOAD_6PF, 0, 0); //set PLL xtal load
                                             ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:184:45: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:271:7: note: void Si5351::init(uint8_t, uint32_t)
  void init(uint8_t, uint32_t);
       ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:271:7: note:   candidate expects 2 arguments, 3 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void keyer()':
_4SQRP-_released_code_V2.0:387: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
    si5351.set_freq(VFOfreq, SI5351_CLK1);
                                        ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:387:40: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte dot()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:439:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte element()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:448:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while ((millis()-time1)<= elementTime) {
                          ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:459:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while ((millis()-time1)<=(ditTime-5)) {
                         ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:466:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void TxON()':
Multiple libraries were found for "si5351.h"
 Used: /Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master
 Not used: /Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino-master
_4SQRP-_released_code_V2.0:491: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:491:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void PLLwrite()':
_4SQRP-_released_code_V2.0:537: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK0);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:537:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte SETMODE()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:592:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void CALMODE()':
_4SQRP-_released_code_V2.0:596: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:596:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
_4SQRP-_released_code_V2.0:615: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1); 
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:615:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
_4SQRP-_released_code_V2.0:621: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:621:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte LTROut()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:678:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
Using library Si5351Arduino_due-master in folder: /Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master (legacy)
Using library Wire at version 1.0 in folder: /Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire 
Using library EEPROM at version 2.0 in folder: /Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM 
exit status 1
no matching function for call to 'Si5351::init(int, int, int)'


Troy G.
 

2.0.1 is what i used without issues. As for LCD, there is not one in there so if you are added an lcd you would have to code based on the library you used. There are different ones out there. 

Troy KF7SEY 


On Jul 12, 2018, at 7:25 AM, Charles W. Powell via Groups.Io <doctorcwp@...> wrote:

I have to admit that the libraries and error messages that occur with Arduinos I find baffling.  I am trying to compile my own code for the Hilltopper and below is the error set I get.  I think some of these errors can be ignored, but the Si5351 errors are killing the compile (I think).

So, first question, exactly WHICH Si5351 library do I need?

Second, is there some secret to figuring this out?  I have run into library problems with other projects as well (WHICH LCD LIBRARY???)

72

Charles - NK8O

Error messages:

Arduino: 1.8.5 (Mac OS X), Board: "SparkFun Pro Micro, ATmega32U4 (5V, 16 MHz)"
 
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/cwpowell/Library/Arduino15/packages -hardware /Users/cwpowell/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/cwpowell/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/cwpowell/Documents/Arduino/libraries -fqbn=SparkFun:avr:promicro:cpu=16MHzatmega32U4 -ide-version=10805 -build-path /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428 -warnings=all -build-cache /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_cache_578907 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avr-gcc.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.avrdude.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -verbose /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/cwpowell/Library/Arduino15/packages -hardware /Users/cwpowell/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/cwpowell/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/cwpowell/Documents/Arduino/libraries -fqbn=SparkFun:avr:promicro:cpu=16MHzatmega32U4 -ide-version=10805 -build-path /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428 -warnings=all -build-cache /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_cache_578907 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avr-gcc.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.avrdude.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -verbose /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino
Using board 'promicro' from platform in folder: /Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10
Using core 'arduino' from platform in folder: /Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21
Detecting libraries used...
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src/Wire.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src/utility/twi.c" -o "/dev/null"
Generating function prototypes...
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/preproc/ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp.o"
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:3:0:
/Users/cwpowell/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/cwpowell/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/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void setup()':
_4SQRP-_released_code_V2.0:184: error: no matching function for call to 'Si5351::init(int, int, int)'
    si5351.init(SI5351_CRYSTAL_LOAD_6PF, 0, 0); //set PLL xtal load
                                             ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:184:45: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:271:7: note: void Si5351::init(uint8_t, uint32_t)
  void init(uint8_t, uint32_t);
       ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:271:7: note:   candidate expects 2 arguments, 3 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void keyer()':
_4SQRP-_released_code_V2.0:387: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
    si5351.set_freq(VFOfreq, SI5351_CLK1);
                                        ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:387:40: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte dot()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:439:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte element()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:448:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while ((millis()-time1)<= elementTime) {
                          ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:459:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while ((millis()-time1)<=(ditTime-5)) {
                         ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:466:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void TxON()':
Multiple libraries were found for "si5351.h"
 Used: /Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master
 Not used: /Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino-master
_4SQRP-_released_code_V2.0:491: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:491:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void PLLwrite()':
_4SQRP-_released_code_V2.0:537: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK0);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:537:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte SETMODE()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:592:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void CALMODE()':
_4SQRP-_released_code_V2.0:596: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:596:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
_4SQRP-_released_code_V2.0:615: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1); 
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:615:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
_4SQRP-_released_code_V2.0:621: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:621:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte LTROut()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:678:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
Using library Si5351Arduino_due-master in folder: /Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master (legacy)
Using library Wire at version 1.0 in folder: /Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire 
Using library EEPROM at version 2.0 in folder: /Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM 
exit status 1
no matching function for call to 'Si5351::init(int, int, int)'


Dave Benson
 

Charles-

I've had the same success with 2.01.

At least on the Arduino IDE I used (1.6.5),   'uint'  threw a compiler error. 'unsigned int' works.  I don't know if they've fixed that.  FWIW- I've run my code on 1.8.4 and it compiled successfully-  once I installed the Si5351 Library.

73- Dave, K1SWL

On Thu, Jul 12, 2018 at 11:44 AM, troysk8 <kf7sey@...> wrote:
2.0.1 is what i used without issues. As for LCD, there is not one in there so if you are added an lcd you would have to code based on the library you used. There are different ones out there. 

Troy KF7SEY 


On Jul 12, 2018, at 7:25 AM, Charles W. Powell via Groups.Io <doctorcwp@...> wrote:

I have to admit that the libraries and error messages that occur with Arduinos I find baffling.  I am trying to compile my own code for the Hilltopper and below is the error set I get.  I think some of these errors can be ignored, but the Si5351 errors are killing the compile (I think).

So, first question, exactly WHICH Si5351 library do I need?

Second, is there some secret to figuring this out?  I have run into library problems with other projects as well (WHICH LCD LIBRARY???)

72

Charles - NK8O

Error messages:

Arduino: 1.8.5 (Mac OS X), Board: "SparkFun Pro Micro, ATmega32U4 (5V, 16 MHz)"
 
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/cwpowell/Library/Arduino15/packages -hardware /Users/cwpowell/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/cwpowell/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/cwpowell/Documents/Arduino/libraries -fqbn=SparkFun:avr:promicro:cpu=16MHzatmega32U4 -ide-version=10805 -build-path /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428 -warnings=all -build-cache /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_cache_578907 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avr-gcc.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.avrdude.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -verbose /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/cwpowell/Library/Arduino15/packages -hardware /Users/cwpowell/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/cwpowell/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/cwpowell/Documents/Arduino/libraries -fqbn=SparkFun:avr:promicro:cpu=16MHzatmega32U4 -ide-version=10805 -build-path /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428 -warnings=all -build-cache /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_cache_578907 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avr-gcc.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.avrdude.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -verbose /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino
Using board 'promicro' from platform in folder: /Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10
Using core 'arduino' from platform in folder: /Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21
Detecting libraries used...
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src/Wire.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src/utility/twi.c" -o "/dev/null"
Generating function prototypes...
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/preproc/ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp.o"
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:3:0:
/Users/cwpowell/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/cwpowell/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/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void setup()':
_4SQRP-_released_code_V2.0:184: error: no matching function for call to 'Si5351::init(int, int, int)'
    si5351.init(SI5351_CRYSTAL_LOAD_6PF, 0, 0); //set PLL xtal load
                                             ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:184:45: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:271:7: note: void Si5351::init(uint8_t, uint32_t)
  void init(uint8_t, uint32_t);
       ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:271:7: note:   candidate expects 2 arguments, 3 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void keyer()':
_4SQRP-_released_code_V2.0:387: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
    si5351.set_freq(VFOfreq, SI5351_CLK1);
                                        ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:387:40: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte dot()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:439:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte element()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:448:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while ((millis()-time1)<= elementTime) {
                          ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:459:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while ((millis()-time1)<=(ditTime-5)) {
                         ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:466:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void TxON()':
Multiple libraries were found for "si5351.h"
 Used: /Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master
 Not used: /Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino-master
_4SQRP-_released_code_V2.0:491: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:491:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void PLLwrite()':
_4SQRP-_released_code_V2.0:537: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK0);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:537:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte SETMODE()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:592:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void CALMODE()':
_4SQRP-_released_code_V2.0:596: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:596:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
_4SQRP-_released_code_V2.0:615: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1); 
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:615:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
_4SQRP-_released_code_V2.0:621: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:621:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte LTROut()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:678:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
Using library Si5351Arduino_due-master in folder: /Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master (legacy)
Using library Wire at version 1.0 in folder: /Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire 
Using library EEPROM at version 2.0 in folder: /Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM 
exit status 1
no matching function for call to 'Si5351::init(int, int, int)'



Charles W. Powell
 

I obviously have the wrong Si5351 library.  Where do I obtain the correct one?  And what is the precise name, since there appear to be about 6 permutations at least?  I now have version 1.8.5 of the compiler, the latest “stable” release.

73,

Charles 

On Jul 12, 2018, at 10:48 AM, Dave Benson <davek1swl@...> wrote:

Charles-

I've had the same success with 2.01.

At least on the Arduino IDE I used (1.6.5),   'uint'  threw a compiler error. 'unsigned int' works.  I don't know if they've fixed that.  FWIW- I've run my code on 1.8.4 and it compiled successfully-  once I installed the Si5351 Library.

73- Dave, K1SWL

On Thu, Jul 12, 2018 at 11:44 AM, troysk8 <kf7sey@...> wrote:
2.0.1 is what i used without issues. As for LCD, there is not one in there so if you are added an lcd you would have to code based on the library you used. There are different ones out there. 

Troy KF7SEY 


On Jul 12, 2018, at 7:25 AM, Charles W. Powell via Groups.Io <doctorcwp@...> wrote:

I have to admit that the libraries and error messages that occur with Arduinos I find baffling.  I am trying to compile my own code for the Hilltopper and below is the error set I get.  I think some of these errors can be ignored, but the Si5351 errors are killing the compile (I think).

So, first question, exactly WHICH Si5351 library do I need?

Second, is there some secret to figuring this out?  I have run into library problems with other projects as well (WHICH LCD LIBRARY???)

72

Charles - NK8O

Error messages:

Arduino: 1.8.5 (Mac OS X), Board: "SparkFun Pro Micro, ATmega32U4 (5V, 16 MHz)"
 
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/cwpowell/Library/Arduino15/packages -hardware /Users/cwpowell/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/cwpowell/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/cwpowell/Documents/Arduino/libraries -fqbn=SparkFun:avr:promicro:cpu=16MHzatmega32U4 -ide-version=10805 -build-path /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428 -warnings=all -build-cache /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_cache_578907 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avr-gcc.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.avrdude.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -verbose /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/cwpowell/Library/Arduino15/packages -hardware /Users/cwpowell/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/cwpowell/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/cwpowell/Documents/Arduino/libraries -fqbn=SparkFun:avr:promicro:cpu=16MHzatmega32U4 -ide-version=10805 -build-path /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428 -warnings=all -build-cache /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_cache_578907 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avr-gcc.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.avrdude.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -verbose /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino
Using board 'promicro' from platform in folder: /Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10
Using core 'arduino' from platform in folder: /Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21
Detecting libraries used...
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src/Wire.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src/utility/twi.c" -o "/dev/null"
Generating function prototypes...
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/preproc/ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp.o"
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:3:0:
/Users/cwpowell/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/cwpowell/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/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void setup()':
_4SQRP-_released_code_V2.0:184: error: no matching function for call to 'Si5351::init(int, int, int)'
    si5351.init(SI5351_CRYSTAL_LOAD_6PF, 0, 0); //set PLL xtal load
                                             ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:184:45: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:271:7: note: void Si5351::init(uint8_t, uint32_t)
  void init(uint8_t, uint32_t);
       ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:271:7: note:   candidate expects 2 arguments, 3 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void keyer()':
_4SQRP-_released_code_V2.0:387: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
    si5351.set_freq(VFOfreq, SI5351_CLK1);
                                        ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:387:40: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte dot()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:439:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte element()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:448:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while ((millis()-time1)<= elementTime) {
                          ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:459:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while ((millis()-time1)<=(ditTime-5)) {
                         ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:466:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void TxON()':
Multiple libraries were found for "si5351.h"
 Used: /Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master
 Not used: /Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino-master
_4SQRP-_released_code_V2.0:491: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:491:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void PLLwrite()':
_4SQRP-_released_code_V2.0:537: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK0);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:537:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte SETMODE()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:592:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void CALMODE()':
_4SQRP-_released_code_V2.0:596: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:596:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
_4SQRP-_released_code_V2.0:615: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1); 
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:615:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
_4SQRP-_released_code_V2.0:621: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:621:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte LTROut()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:678:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
Using library Si5351Arduino_due-master in folder: /Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master (legacy)
Using library Wire at version 1.0 in folder: /Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire 
Using library EEPROM at version 2.0 in folder: /Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM 
exit status 1
no matching function for call to 'Si5351::init(int, int, int)'





Troy G.
 

On Jul 12, 2018, at 11:37 AM, Charles W. Powell via Groups.Io <doctorcwp@...> wrote:

I obviously have the wrong Si5351 library.  Where do I obtain the correct one?  And what is the precise name, since there appear to be about 6 permutations at least?  I now have version 1.8.5 of the compiler, the latest “stable” release.

73,

Charles 

On Jul 12, 2018, at 10:48 AM, Dave Benson <davek1swl@...> wrote:

Charles-

I've had the same success with 2.01.

At least on the Arduino IDE I used (1.6.5),   'uint'  threw a compiler error. 'unsigned int' works.  I don't know if they've fixed that.  FWIW- I've run my code on 1.8.4 and it compiled successfully-  once I installed the Si5351 Library.

73- Dave, K1SWL

On Thu, Jul 12, 2018 at 11:44 AM, troysk8 <kf7sey@...> wrote:
2.0.1 is what i used without issues. As for LCD, there is not one in there so if you are added an lcd you would have to code based on the library you used. There are different ones out there. 

Troy KF7SEY 


On Jul 12, 2018, at 7:25 AM, Charles W. Powell via Groups.Io <doctorcwp@...> wrote:

I have to admit that the libraries and error messages that occur with Arduinos I find baffling.  I am trying to compile my own code for the Hilltopper and below is the error set I get.  I think some of these errors can be ignored, but the Si5351 errors are killing the compile (I think).

So, first question, exactly WHICH Si5351 library do I need?

Second, is there some secret to figuring this out?  I have run into library problems with other projects as well (WHICH LCD LIBRARY???)

72

Charles - NK8O

Error messages:

Arduino: 1.8.5 (Mac OS X), Board: "SparkFun Pro Micro, ATmega32U4 (5V, 16 MHz)"
 
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/cwpowell/Library/Arduino15/packages -hardware /Users/cwpowell/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/cwpowell/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/cwpowell/Documents/Arduino/libraries -fqbn=SparkFun:avr:promicro:cpu=16MHzatmega32U4 -ide-version=10805 -build-path /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428 -warnings=all -build-cache /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_cache_578907 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avr-gcc.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.avrdude.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -verbose /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/cwpowell/Library/Arduino15/packages -hardware /Users/cwpowell/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/cwpowell/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/cwpowell/Documents/Arduino/libraries -fqbn=SparkFun:avr:promicro:cpu=16MHzatmega32U4 -ide-version=10805 -build-path /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428 -warnings=all -build-cache /var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_cache_578907 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avr-gcc.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.avrdude.path=/Users/cwpowell/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -verbose /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino
Using board 'promicro' from platform in folder: /Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10
Using core 'arduino' from platform in folder: /Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21
Detecting libraries used...
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src/Wire.cpp" -o "/dev/null"
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src/utility/twi.c" -o "/dev/null"
Generating function prototypes...
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/preproc/ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"/Users/cwpowell/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROMICRO -DARDUINO_ARCH_AVR  -DUSB_VID=0x1b4f -DUSB_PID=0x9206 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="SparkFun Pro Micro"' "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/cwpowell/Library/Arduino15/packages/SparkFun/hardware/avr/1.1.10/variants/promicro" "-I/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire/src" "-I/Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM/src" "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp" -o "/var/folders/f3/wpv12vq97cbd2nxwq0lt7bv40000gn/T/arduino_build_797428/sketch/_4SQRP-_released_code_V2.0.ino.cpp.o"
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:3:0:
/Users/cwpowell/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/cwpowell/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/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void setup()':
_4SQRP-_released_code_V2.0:184: error: no matching function for call to 'Si5351::init(int, int, int)'
    si5351.init(SI5351_CRYSTAL_LOAD_6PF, 0, 0); //set PLL xtal load
                                             ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:184:45: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:271:7: note: void Si5351::init(uint8_t, uint32_t)
  void init(uint8_t, uint32_t);
       ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:271:7: note:   candidate expects 2 arguments, 3 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void keyer()':
_4SQRP-_released_code_V2.0:387: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
    si5351.set_freq(VFOfreq, SI5351_CLK1);
                                        ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:387:40: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte dot()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:439:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte element()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:448:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while ((millis()-time1)<= elementTime) {
                          ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:459:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while ((millis()-time1)<=(ditTime-5)) {
                         ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:466:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void TxON()':
Multiple libraries were found for "si5351.h"
 Used: /Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master
 Not used: /Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino-master
_4SQRP-_released_code_V2.0:491: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:491:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void PLLwrite()':
_4SQRP-_released_code_V2.0:537: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK0);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:537:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte SETMODE()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:592:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'void CALMODE()':
_4SQRP-_released_code_V2.0:596: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:596:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
_4SQRP-_released_code_V2.0:615: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1); 
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:615:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
_4SQRP-_released_code_V2.0:621: error: no matching function for call to 'Si5351::set_freq(long int&, si5351_clock)'
   si5351.set_freq(VFOfreq, SI5351_CLK1);
                                       ^
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:621:39: note: candidate is:
In file included from /Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:2:0:
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note: uint8_t Si5351::set_freq(uint64_t, uint64_t, si5351_clock)
  uint8_t set_freq(uint64_t, uint64_t, enum si5351_clock);
          ^
/Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master/si5351.h:272:10: note:   candidate expects 3 arguments, 2 provided
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino: In function 'byte LTROut()':
/Users/cwpowell/Downloads/_4SQRP-_released_code_V2.0/_4SQRP-_released_code_V2.0.ino:678:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
Using library Si5351Arduino_due-master in folder: /Users/cwpowell/Documents/Arduino/libraries/Si5351Arduino_due-master (legacy)
Using library Wire at version 1.0 in folder: /Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/Wire 
Using library EEPROM at version 2.0 in folder: /Users/cwpowell/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/libraries/EEPROM 
exit status 1
no matching function for call to 'Si5351::init(int, int, int)'





Charles W. Powell
 

This is what I get with the etherkit-si5351 library.  Sorry to be a pain, but I really want to figure this out.  I will try a different version of Arduino IDE, but if the library doesn’t support the call, I don’t think it will help.

72

Charles - NK8O


exit status 1
no matching function for call to 'Si5351::set_correction(long int&)'


On Jul 12, 2018, at 1:48 PM, troysk8 <kf7sey@...> wrote:



Troy G.
 

Are you using 2.0.1? Make sure to remove any of the other libraries you have installed. And install 2.0.1 from the link.

Troy KF7SEY 


On Jul 12, 2018, at 11:54 AM, Charles W. Powell via Groups.Io <doctorcwp@...> wrote:

This is what I get with the etherkit-si5351 library.  Sorry to be a pain, but I really want to figure this out.  I will try a different version of Arduino IDE, but if the library doesn’t support the call, I don’t think it will help.

72

Charles - NK8O


exit status 1
no matching function for call to 'Si5351::set_correction(long int&)'


On Jul 12, 2018, at 1:48 PM, troysk8 <kf7sey@...> wrote:



Charles W. Powell
 

Troy KF7SEY and Dave K1SWL,

I got it. Thought something was wrong because there wasn’t a single error and it went by in seconds. So now do I just compile and “Upload" to an Arduino Uno? Or is it “Upload using Programmer”?

Dave - I made my changes to the sidetone and offset to 600 Hz. I’ll let you know how it works. I’ll also be making the sidetone volume mod when I open up the box.

72,

Charles - NK8O


Troy G.
 

You can use a uno. Just put the chip in and upload. What i did was uploaded to a chip i had that way if anything went wrong. I still had the one that came with the kit.

Troy KF7SEY

On Jul 12, 2018, at 6:55 PM, Charles W. Powell via Groups.Io <doctorcwp=yahoo.com@groups.io> wrote:

Troy KF7SEY and Dave K1SWL,

I got it. Thought something was wrong because there wasn’t a single error and it went by in seconds. So now do I just compile and “Upload" to an Arduino Uno? Or is it “Upload using Programmer”?

Dave - I made my changes to the sidetone and offset to 600 Hz. I’ll let you know how it works. I’ll also be making the sidetone volume mod when I open up the box.

72,

Charles - NK8O




Charles W. Powell
 

I purchased a couple of chips extra, with a genuine Uno because I didn’t want anything to go wrong. I’ll let everyone know how it goes. I have had great success with this little radio - farthest daytime contact in terrible conditions: Portugal. I’m sure there’s more to come.

Charles - NK8O

On Jul 12, 2018, at 9:04 PM, troysk8 <kf7sey@...> wrote:

You can use a uno. Just put the chip in and upload. What i did was uploaded to a chip i had that way if anything went wrong. I still had the one that came with the kit.

Troy KF7SEY
On Jul 12, 2018, at 6:55 PM, Charles W. Powell via Groups.Io <doctorcwp=yahoo.com@groups.io> wrote:

Troy KF7SEY and Dave K1SWL,

I got it. Thought something was wrong because there wasn’t a single error and it went by in seconds. So now do I just compile and “Upload" to an Arduino Uno? Or is it “Upload using Programmer”?

Dave - I made my changes to the sidetone and offset to 600 Hz. I’ll let you know how it works. I’ll also be making the sidetone volume mod when I open up the box.

72,

Charles - NK8O





Martin Kramer
 

With a brand new chip the arduino bootloader must been flashed before the chip can be programmed with the arduino uno board.
A good description of this can be found here (in German, but with Schematic and photos):
https://www.frag-duino.de/index.php/maker-faq/35-programmieren-eines-atmel-atmega-328p-mit-dem-arduino-uno-bootloader

vy 73 Martin DH3FR


Dave Benson
 

Charles-

The Arduino UNO uses the ATmega328P-PU in the 28-pin DIP package. Those ICs come in two flavors: 1) a blank IC requiring the bootloader be burned ($2) , and 2) an IC with the Arduino bootloader installed ($4-5).

If you need to burn the bootloader, look for 'Arduino burn bootloader'. The examples shown use a solderless breadboard and prefab jumper wires- available from Adafruit, Mouser, DigiKey, etc.

73- Dave 

On Fri, Jul 13, 2018 at 3:07 AM, Martin Kramer via Groups.Io <ralf.martin.kramer@...> wrote:
With a brand new chip the arduino bootloader must been flashed before the chip can be programmed with the arduino uno board.
A good description of this can be found here (in German, but with Schematic and photos):
https://www.frag-duino.de/index.php/maker-faq/35-programmieren-eines-atmel-atmega-328p-mit-dem-arduino-uno-bootloader

vy 73 Martin DH3FR



Charles W. Powell
 

I bought ones with the bootloader installed - if I can find them!

Charles - NK8O

On Jul 13, 2018, at 5:44 AM, Dave Benson <davek1swl@...> wrote:

Charles-

The Arduino UNO uses the ATmega328P-PU in the 28-pin DIP package. Those ICs come in two flavors: 1) a blank IC requiring the bootloader be burned ($2) , and 2) an IC with the Arduino bootloader installed ($4-5).

If you need to burn the bootloader, look for 'Arduino burn bootloader'. The examples shown use a solderless breadboard and prefab jumper wires- available from Adafruit, Mouser, DigiKey, etc.

73- Dave 

On Fri, Jul 13, 2018 at 3:07 AM, Martin Kramer via Groups.Io <ralf.martin.kramer@...> wrote:
With a brand new chip the arduino bootloader must been flashed before the chip can be programmed with the arduino uno board.
A good description of this can be found here (in German, but with Schematic and photos):
https://www.frag-duino.de/index.php/maker-faq/35-programmieren-eines-atmel-atmega-328p-mit-dem-arduino-uno-bootloader

vy 73 Martin DH3FR





Jeff Logullo N0̸MII
 

On Jul 13, 2018, at 2:07 AM, Martin Kramer via Groups.Io <ralf.martin.kramer@...> wrote:

With a brand new chip the arduino bootloader must been flashed before the chip can be programmed with the arduino uno board.
A good description of this can be found here (in German, but with Schematic and photos):
https://www.frag-duino.de/index.php/maker-faq/35-programmieren-eines-atmel-atmega-328p-mit-dem-arduino-uno-bootloader

vy 73 Martin DH3FR