SOTABEAMS Vari-filter with Arduino Nano

Discussion in 'Microphones, Speakers & Audio Processing' started by LY2H, Oct 28, 2019.

ad: L-HROutlet
ad: l-rl
ad: L-MFJ
ad: Left-2
ad: Left-3
ad: Subscribe
  1. LY2H

    LY2H Ham Member QRZ Page

    Anyone has success in running Sotabeams Laserbeam-Vari Filter controlled by the Arduino Nano as described on their website ? (https://www.sotabeams.co.uk/variable-bandwidth-filter-modules-ssb-cw/). I have problems with loading the KG4RUL Sketch up onto the generic Arduino Nano. Would appreciate any info incl. video on how successful you were with this sketch and how the final construction with the filter is working. The filter alone is just fine.
     
  2. KG4RUL

    KG4RUL Ham Member QRZ Page

    Could you provide more detail as to what problems you are encountering?
     
  3. LY2H

    LY2H Ham Member QRZ Page

    Thanks for the reply Dennis! When I try to upload the VB_LocalDisplay to the Nano from my Raspberry Pi4 I get the “Adafruit_GFX.h: No such file or directory” error report. Example sketches, like Blink or Fade do load ok and switch the Arduino Nano nicely.
     
  4. KG4RUL

    KG4RUL Ham Member QRZ Page

  5. LY2H

    LY2H Ham Member QRZ Page

    Thanks Dennis, I'll try to mingle with libraries on Pi4. But the reason why I have tried the Pi4 was that it was errors compiling for board on my PC too! Below is the error report. Again, the test Blink and Fade sketches work fine on this Arduino board. Could it be the same Adafruit libraries install issues on PC as on Raspbian?

    Arduino: 1.8.10 (Windows 7), Board: "Arduino Duemilanove or Diecimila, ATmega328P"
    C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Lenovo\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Lenovo\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Lenovo\Documents\Arduino\libraries -fqbn=arduino:avr:diecimila:cpu=atmega328 -vid-pid=1A86_7523 -ide-version=10810 -build-path C:\Users\Lenovo\AppData\Local\Temp\arduino_build_717002 -warnings=all -build-cache C:\Users\Lenovo\AppData\Local\Temp\arduino_cache_826401 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Lenovo\Documents\ARDUINO\Sketches\VB_LocalDisplay\VB_LocalDisplay.ino
    C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Lenovo\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Lenovo\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Lenovo\Documents\Arduino\libraries -fqbn=arduino:avr:diecimila:cpu=atmega328 -vid-pid=1A86_7523 -ide-version=10810 -build-path C:\Users\Lenovo\AppData\Local\Temp\arduino_build_717002 -warnings=all -build-cache C:\Users\Lenovo\AppData\Local\Temp\arduino_cache_826401 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Lenovo\Documents\ARDUINO\Sketches\VB_LocalDisplay\VB_LocalDisplay.ino
    Using board 'diecimila' from platform in folder: C:\Program
    Using core 'arduino' from platform in folder: C:\Program
    Detecting libraries used...
    "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002\\sketch\\VB_LocalDisplay.ino.cpp" -o nul
    Alternatives for Adafruit_GFX.h: [Adafruit_GFX@1.6.1]
    ResolveLibrary(Adafruit_GFX.h)
    -> candidates: [Adafruit_GFX@1.6.1]
    "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_GFX" "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002\\sketch\\VB_LocalDisplay.ino.cpp" -o nul
    Alternatives for Adafruit_SH1106.h: [Adafruit_SH1106.h]
    ResolveLibrary(Adafruit_SH1106.h)
    -> candidates: [Adafruit_SH1106.h]
    "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_GFX" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_SH1106.h" "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002\\sketch\\VB_LocalDisplay.ino.cpp" -o nul
    Alternatives for SPI.h: [SPI@1.0]
    ResolveLibrary(SPI.h)
    -> candidates: [SPI@1.0]
    "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_GFX" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_SH1106.h" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002\\sketch\\VB_LocalDisplay.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_GFX" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_SH1106.h" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_GFX\\Adafruit_GFX.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_GFX" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_SH1106.h" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_GFX\\Adafruit_SPITFT.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_GFX" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_SH1106.h" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_GFX\\glcdfont.c" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_GFX" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_SH1106.h" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src\\SPI.cpp" -o nul
    Generating function prototypes...
    "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_GFX" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_SH1106.h" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002\\sketch\\VB_LocalDisplay.ino.cpp" -o "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002\\preproc\\ctags_target_for_gcc_minus_e.cpp"
    "C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002\\preproc\\ctags_target_for_gcc_minus_e.cpp"
    Compiling sketch...
    "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_GFX" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_SH1106.h" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002\\sketch\\VB_LocalDisplay.ino.cpp" -o "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002\\sketch\\VB_LocalDisplay.ino.cpp.o"
    Compiling libraries...
    Compiling library "Adafruit_GFX"
    "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_GFX" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_SH1106.h" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_GFX\\glcdfont.c" -o "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002\\libraries\\Adafruit_GFX\\glcdfont.c.o"
    C:\Users\Lenovo\Documents\Arduino\libraries\Adafruit_GFX\glcdfont.c:22:28: warning: 'font' defined but not used [-Wunused-const-variable=]
    static const unsigned char font[] PROGMEM = {
    ^~~~
    "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_GFX" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_SH1106.h" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_GFX\\Adafruit_SPITFT.cpp" -o "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002\\libraries\\Adafruit_GFX\\Adafruit_SPITFT.cpp.o"
    "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_GFX" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_SH1106.h" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_GFX\\Adafruit_GFX.cpp" -o "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002\\libraries\\Adafruit_GFX\\Adafruit_GFX.cpp.o"
    C:\Users\Lenovo\Documents\Arduino\libraries\Adafruit_GFX\Adafruit_SPITFT.cpp: In member function 'void Adafruit_SPITFT::writePixels(uint16_t*, uint32_t, bool, bool)':
    C:\Users\Lenovo\Documents\Arduino\libraries\Adafruit_GFX\Adafruit_SPITFT.cpp:978:8: warning: unused parameter 'block' [-Wunused-parameter]
    bool block, bool bigEndian) {
    ^~~~~
    C:\Users\Lenovo\Documents\Arduino\libraries\Adafruit_GFX\Adafruit_SPITFT.cpp:978:20: warning: unused parameter 'bigEndian' [-Wunused-parameter]
    bool block, bool bigEndian) {
    ^~~~~~~~~
    C:\Users\Lenovo\Documents\Arduino\libraries\Adafruit_GFX\Adafruit_GFX.cpp: In member function 'virtual void Adafruit_GFX::invertDisplay(boolean)':
    C:\Users\Lenovo\Documents\Arduino\libraries\Adafruit_GFX\Adafruit_GFX.cpp:1456:42: warning: unused parameter 'i' [-Wunused-parameter]
    void Adafruit_GFX::invertDisplay(boolean i) {
    ^
    Compiling library "Adafruit_SH1106.h"
    Compiling library "SPI"
    "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_GFX" "-IC:\\Users\\Lenovo\\Documents\\Arduino\\libraries\\Adafruit_SH1106.h" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src\\SPI.cpp" -o "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002\\libraries\\SPI\\SPI.cpp.o"
    Compiling core...
    Using precompiled core: C:\Users\Lenovo\AppData\Local\Temp\arduino_cache_826401\core\core_arduino_avr_diecimila_cpu_atmega328_0c812875ac70eb4a9b385d8fb077f54c.a
    Linking everything together...
    "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -Wall -Wextra -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002/VB_LocalDisplay.ino.elf" "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002\\sketch\\VB_LocalDisplay.ino.cpp.o" "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002\\libraries\\Adafruit_GFX\\glcdfont.c.o" "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002\\libraries\\Adafruit_GFX\\Adafruit_GFX.cpp.o" "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002\\libraries\\Adafruit_GFX\\Adafruit_SPITFT.cpp.o" "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002\\libraries\\SPI\\SPI.cpp.o" "C:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002/..\\arduino_cache_826401\\core\\core_arduino_avr_diecimila_cpu_atmega328_0c812875ac70eb4a9b385d8fb077f54c.a" "-LC:\\Users\\Lenovo\\AppData\\Local\\Temp\\arduino_build_717002" -lm
    C:\Users\Lenovo\AppData\Local\Temp\ccHm8EgK.ltrans0.ltrans.o: In function `displayStatus':
    C:\Users\Lenovo\Documents\ARDUINO\Sketches\VB_LocalDisplay/VB_LocalDisplay.ino:367: undefined reference to `Adafruit_SH1106::clearDisplay()'
    C:\Users\Lenovo\Documents\ARDUINO\Sketches\VB_LocalDisplay/VB_LocalDisplay.ino:383: undefined reference to `Adafruit_SH1106::display()'
    C:\Users\Lenovo\AppData\Local\Temp\ccHm8EgK.ltrans0.ltrans.o: In function `global constructors keyed to 65535_0_VB_LocalDisplay.ino.cpp.o.2605':
    C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.cpp:179: undefined reference to `Adafruit_SH1106::Adafruit_SH1106(signed char)'
    C:\Users\Lenovo\AppData\Local\Temp\ccHm8EgK.ltrans0.ltrans.o: In function `setup':
    C:\Users\Lenovo\Documents\ARDUINO\Sketches\VB_LocalDisplay/VB_LocalDisplay.ino:426: undefined reference to `Adafruit_SH1106::begin(unsigned char, unsigned char, bool)'
    C:\Users\Lenovo\Documents\ARDUINO\Sketches\VB_LocalDisplay/VB_LocalDisplay.ino:428: undefined reference to `Adafruit_SH1106::display()'
    C:\Users\Lenovo\Documents\ARDUINO\Sketches\VB_LocalDisplay/VB_LocalDisplay.ino:429: undefined reference to `Adafruit_SH1106::clearDisplay()'
    collect2.exe: error: ld returned 1 exit status
    Multiple libraries were found for "SPI.h"
    Used: C:\Program
    Multiple libraries were found for "Adafruit_GFX.h"
    Used: C:\Users\Lenovo\Documents\Arduino\libraries\Adafruit_GFX
    Multiple libraries were found for "Adafruit_SH1106.h"
    Used: C:\Users\Lenovo\Documents\Arduino\libraries\Adafruit_SH1106.h
    Using library Adafruit_GFX at version 1.6.1 in folder: C:\Users\Lenovo\Documents\Arduino\libraries\Adafruit_GFX
    Using library Adafruit_SH1106.h in folder: C:\Users\Lenovo\Documents\Arduino\libraries\Adafruit_SH1106.h (legacy)
    Using library SPI at version 1.0 in folder: C:\Program Files
    exit status 1
    Error compiling for board Arduino Duemilanove or Diecimila.
     
  6. KG4RUL

    KG4RUL Ham Member QRZ Page

    As I said, I have no experience at all with the PI so I am unable to help. Any PI experts out there?
     
  7. LY2H

    LY2H Ham Member QRZ Page

    The error report above is from laptop PC Win 7, not Pi4.
     

Share This Page