Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 13 of 13

Thread: Teensey LC wont compile PinSim

  1. #1
    Junior Member
    Join Date
    Dec 2018
    Posts
    7

    Teensey LC wont compile PinSim

    I知 having trouble with compiling on the Teensy LC

    I知 using Arduino 1.8.8

    And Teensyduino 1.45

    I can't get it to complete a compile.

    In fact it won稚 complete a compile even after loading up the existing .ino (before I make any changes)

    Basically I just want to stop LED1 flashing on and off after start up.

    Is there a known problem with the software I知 trying to use for this?

    Im using the Pinsin.ino from the Tested Website
    https://github.com/Jerware/PinSim

    Many thanks.

    Steve

  2. #2
    Senior Member+ manitou's Avatar
    Join Date
    Jan 2013
    Posts
    1,881
    can you compile and run the IDE's blink example? File > Examples > Digital > blinkwithoutdelay

  3. #3
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,536
    Plase post the errors (the contens of the black commandline-window after compiling).
    "I can't get it to complete a compile." does not help us to help you.. When you take your car to the garage, you don't say "my car doesn't work" either... you say "the brakes are not good" or something like that.. in addition, we don't have your car

    Maybe you don't have the needed libraries installed?

  4. #4
    Junior Member
    Join Date
    Dec 2018
    Posts
    7
    Quote Originally Posted by manitou View Post
    can you compile and run the IDE's blink example? File > Examples > Digital > blinkwithoutdelay
    Yes. That compiles fine.

  5. #5
    Junior Member
    Join Date
    Dec 2018
    Posts
    7
    Quote Originally Posted by Frank B View Post
    Plase post the errors (the contens of the black commandline-window after compiling).
    "I can't get it to complete a compile." does not help us to help you.. When you take your car to the garage, you don't say "my car doesn't work" either... you say "the brakes are not good" or something like that.. in addition, we don't have your car

    Maybe you don't have the needed libraries installed?
    Apologies if i come off as less than knowlegable.

    I know nothing about this.

    I litterally started with it a week ago and have zero previous exposure.

    The error code is:

    \Arduino: 1.8.8 (Windows 10), TD: 1.45, Board: "Teensy LC, Serial, 48 MHz, Smallest Code, United Kingdom"

    C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\steve\Documents\Arduino\libraries -fqbn=teensy:avr:teensyLC:usb=serial,speed=48,opt=o sstd,keys=en-gb -ide-version=10808 -build-path C:\Users\steve\AppData\Local\Temp\arduino_build_19 0243 -warnings=none -build-cache C:\Users\steve\AppData\Local\Temp\arduino_cache_33 9190 -verbose C:\Users\steve\Desktop\PinSim-master\PinSim-master\pinSim\pinSim.ino
    C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\steve\Documents\Arduino\libraries -fqbn=teensy:avr:teensyLC:usb=serial,speed=48,opt=o sstd,keys=en-gb -ide-version=10808 -build-path C:\Users\steve\AppData\Local\Temp\arduino_build_19 0243 -warnings=none -build-cache C:\Users\steve\AppData\Local\Temp\arduino_cache_33 9190 -verbose C:\Users\steve\Desktop\PinSim-master\PinSim-master\pinSim\pinSim.ino
    Using board 'teensyLC' from platform in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr
    Using core 'teensy3' from platform in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr
    Detecting libraries used...
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_190243\\sketch\\pinSim.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_190243\\sketch\\pinSim.ino.cpp" -o nul
    C:\Users\steve\Desktop\PinSim-master\PinSim-master\pinSim\pinSim.ino:22:29: fatal error: Adafruit_Sensor.h: No such file or directory

    compilation terminated.

    Using library Wire at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire
    Error compiling for board Teensy LC.


    Regards taking my car to a garage. Not a chance ! 1979 Spitfire. Nopbody works on my car but me ! (and it has zero tech... so i'm safe with that!)

    Cheers fellas.

    EDIT

    That reference to adafruit is a motion sensor. (Which works fine if I load up the already complie .hex file...)

  6. #6
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,536
    Code:
    C:\Users\steve\Desktop\PinSim-master\PinSim-master\pinSim\pinSim.ino:22:29:  fatal error: Adafruit_Sensor.h: No such file or directory
    A library is missing.
    The documentation from the page you linked says:
    This code is designed to run on Teensy LC and requires the following libraries:


    So..make sure to install them

  7. #7
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,536
    Download as zip, extract, and copy to C:\Users\steve\documents\arduino\libraries

  8. #8
    Junior Member
    Join Date
    Dec 2018
    Posts
    7
    Quote Originally Posted by Frank B View Post
    Download as zip, extract, and copy to C:\Users\steve\documents\arduino\libraries
    Thanks Frank.

    Have done this and still no joy. Different message now !

    New error code:
    Arduino: 1.8.8 (Windows 10), TD: 1.45, Board: "Teensy LC, Serial, 48 MHz, Smallest Code, United Kingdom"

    C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\steve\Documents\Arduino\libraries -fqbn=teensy:avr:teensyLC:usb=serial,speed=48,opt=o sstd,keys=en-gb -ide-version=10808 -build-path C:\Users\steve\AppData\Local\Temp\arduino_build_88 8249 -warnings=none -build-cache C:\Users\steve\AppData\Local\Temp\arduino_cache_98 3890 -verbose C:\Users\steve\Desktop\PinSim-master\pinSim\pinSim.ino
    C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\steve\Documents\Arduino\libraries -fqbn=teensy:avr:teensyLC:usb=serial,speed=48,opt=o sstd,keys=en-gb -ide-version=10808 -build-path C:\Users\steve\AppData\Local\Temp\arduino_build_88 8249 -warnings=none -build-cache C:\Users\steve\AppData\Local\Temp\arduino_cache_98 3890 -verbose C:\Users\steve\Desktop\PinSim-master\pinSim\pinSim.ino
    Using board 'teensyLC' from platform in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr
    Using core 'teensy3' from platform in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr
    Detecting libraries used...
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_888249\\sketch\\pinSim.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_888249\\sketch\\pinSim.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_888249\\sketch\\pinSim.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_888249\\sketch\\pinSim.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_888249\\sketch\\pinSim.ino.cpp" -o nul
    C:\Users\steve\Desktop\PinSim-master\pinSim\pinSim.ino:25:20: fatal error: xinput.h: No such file or directory

    compilation terminated.

    Using library Wire at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire
    Using library Adafruit_Sensor-master at version 1.0.2 in folder: C:\Users\steve\Documents\Arduino\libraries\Adafrui t_Sensor-master
    Using library Adafruit_ADXL345-master at version 1.2.0 in folder: C:\Users\steve\Documents\Arduino\libraries\Adafrui t_ADXL345-master
    Using library Bounce in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Bounce (legacy)
    Error compiling for board Teensy LC.

  9. #9
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    19,744
    Perhaps the author forgot to put the files xinput.h and xinput.cpp into this repository. From the link in the readme file, looks like these are the right ones.

    https://github.com/zlittell/MSF-XINP...ter/MSF_XINPUT

    Maybe try downloading those 2 files and copy them to the same folder where you have pinSim.ino. Quit and restart Arduino, so it will notice the 2 new files when it reopens the code. You should see them appear as 2 new tabs in the Arduino editor.

  10. #10
    Junior Member
    Join Date
    Dec 2018
    Posts
    7
    Quote Originally Posted by PaulStoffregen View Post
    Perhaps the author forgot to put the files xinput.h and xinput.cpp into this repository. From the link in the readme file, looks like these are the right ones.

    https://github.com/zlittell/MSF-XINP...ter/MSF_XINPUT

    Maybe try downloading those 2 files and copy them to the same folder where you have pinSim.ino. Quit and restart Arduino, so it will notice the 2 new files when it reopens the code. You should see them appear as 2 new tabs in the Arduino editor.
    ok... that certainly did something.

    now i have an error code in the xinput.cpp tab:

    Arduino: 1.8.8 (Windows 10), TD: 1.45, Board: "Teensy LC, Serial, 48 MHz, Smallest Code, United Kingdom"

    C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\steve\Documents\Arduino\libraries -fqbn=teensy:avr:teensyLC:usb=serial,speed=48,opt=o sstd,keys=en-gb -ide-version=10808 -build-path C:\Users\steve\AppData\Local\Temp\arduino_build_14 090 -warnings=none -build-cache C:\Users\steve\AppData\Local\Temp\arduino_cache_58 2914 -verbose C:\Users\steve\Desktop\PinSim-master\pinSim\pinSim.ino
    C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\steve\Documents\Arduino\libraries -fqbn=teensy:avr:teensyLC:usb=serial,speed=48,opt=o sstd,keys=en-gb -ide-version=10808 -build-path C:\Users\steve\AppData\Local\Temp\arduino_build_14 090 -warnings=none -build-cache C:\Users\steve\AppData\Local\Temp\arduino_cache_58 2914 -verbose C:\Users\steve\Desktop\PinSim-master\pinSim\pinSim.ino
    Using board 'teensyLC' from platform in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr
    Using core 'teensy3' from platform in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr
    Detecting libraries used...
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090\\sketch\\pinSim.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090\\sketch\\pinSim.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090\\sketch\\pinSim.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090\\sketch\\pinSim.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090\\sketch\\pinSim.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090\\sketch\\pinSim.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090\\sketch\\pinSim.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090\\sketch\\xinput.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire\\utility" "C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire\\Wire.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire\\utility" "C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire\\WireKinetis.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire\\utility" "C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire\\utility\\twi.c" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "C:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master\\Adafruit_ADXL345_U.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce\\Bounce.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "C:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master\\EEPROMex.cpp" -o nul
    Generating function prototypes...
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090\\sketch\\pinSim.ino.cpp" -o "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090\\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\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090\\preproc\\ctags_target_for_gcc_minus_e. cpp"
    Compiling sketch...
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/precompile_helper" "C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr/cores/teensy3" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090" "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -x c++-header -Os --specs=nano.specs -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr/cores/teensy3" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090/pch/Arduino.h" -o "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090/pch/Arduino.h.gch"
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -Os --specs=nano.specs -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090/pch" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090\\sketch\\xinput.cpp" -o "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090\\sketch\\xinput.cpp.o"
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -Os --specs=nano.specs -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=145 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090/pch" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090\\sketch\\pinSim.ino.cpp" -o "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_14090\\sketch\\pinSim.ino.cpp.o"
    C:\Users\steve\AppData\Local\Temp\arduino_build_14 090\sketch\xinput.cpp: In member function 'void XINPUT::sendXinput()':

    xinput.cpp:299: error: 'XInputUSB' was not declared in this scope
    XInputUSB.send(TXData, USB_TIMEOUT);

    ^

    C:\Users\steve\AppData\Local\Temp\arduino_build_14 090\sketch\xinput.cpp: In member function 'uint8_t XINPUT::receiveXinput()':

    xinput.cpp:310: error: 'XInputUSB' was not declared in this scope
    if (XInputUSB.available() > 0)

    ^

    xinput.cpp:342: warning: control reaches end of non-void function
    }

    ^

    pinSim: In function 'void processInputs()':
    pinSim:385: warning: suggest parentheses around '&&' within '||'
    if ((reading - lastReading) > -10 && (reading - lastReading) < 10 || (reading - lastReading > 75) || (reading - lastReading < -75))

    ^

    Using library Wire at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire
    Using library Adafruit_Sensor-master at version 1.0.2 in folder: C:\Users\steve\Documents\Arduino\libraries\Adafrui t_Sensor-master
    Using library Adafruit_ADXL345-master at version 1.2.0 in folder: C:\Users\steve\Documents\Arduino\libraries\Adafrui t_ADXL345-master
    Using library Bounce in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Bounce (legacy)
    Using library Average-master in folder: C:\Users\steve\Documents\Arduino\libraries\Average-master (legacy)
    Using library Arduino-EEPROMEx-master at version 1.0.0 in folder: C:\Users\steve\Documents\Arduino\libraries\Arduino-EEPROMEx-master
    'XInputUSB' was not declared in this scope


    Ha ! still means nothing to me !! But... maybe some of it seeps in atg some point !!

    so... what do we think ?

  11. #11
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    19,744
    Oh, this just keeps getting more complicated. Hang in there. This next step is going to take a little extra care to make sure you more even more files into special places!

    Looks like this depends on modified versions of several files in the core library folder. On Windows, the default location is C:\Program Files (x86)\Arduino\hardware\teensy\avr\teensy3.

    Here's yet another readme file with details.

    https://github.com/zlittell/MSF-XINP...0were%20edited

    So to make this work, click that "hardware/teensy/avr" link and download boards.txt, and then go to the "teensy3" folder and download those 7 extra files. The tricky part is finding the correct location on your PC and properly replacing those 8 files with these modified copies which xinput.cpp wants.

    Yeah, it's even more stuff to download and install... and modern versions of Microsoft Windows often obscure the full pathnames when you're clicking around in folders and files, so be extra careful to check that you're putting those 8 files in the right place.

    Hopefully this will make it all magically spring to life?

  12. #12
    Junior Member
    Join Date
    Dec 2018
    Posts
    7
    Thanks Paul.

    I will have to leave this until tomorrow.. (or more likely late tonight)

    I will post back soon !

    Many thanks

  13. #13
    Junior Member
    Join Date
    Dec 2018
    Posts
    7
    Quote Originally Posted by PaulStoffregen View Post
    Oh, this just keeps getting more complicated. Hang in there. This next step is going to take a little extra care to make sure you more even more files into special places!

    Looks like this depends on modified versions of several files in the core library folder. On Windows, the default location is C:\Program Files (x86)\Arduino\hardware\teensy\avr\teensy3.

    Here's yet another readme file with details.

    https://github.com/zlittell/MSF-XINP...0were%20edited

    So to make this work, click that "hardware/teensy/avr" link and download boards.txt, and then go to the "teensy3" folder and download those 7 extra files. The tricky part is finding the correct location on your PC and properly replacing those 8 files with these modified copies which xinput.cpp wants.

    Yeah, it's even more stuff to download and install... and modern versions of Microsoft Windows often obscure the full pathnames when you're clicking around in folders and files, so be extra careful to check that you're putting those 8 files in the right place.

    Hopefully this will make it all magically spring to life?
    ok... i put that lot in the right place....

    error code is now:

    Arduino: 1.8.8 (Windows 10), TD: 1.45, Board: "Teensy LC, Serial, 48 MHz, Smallest Code, United Kingdom"

    C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\steve\Documents\Arduino\libraries -fqbn=teensy:avr:teensyLC:usb=serial,speed=48,opt=o sstd,keys=en-gb -ide-version=10808 -build-path C:\Users\steve\AppData\Local\Temp\arduino_build_53 8276 -warnings=none -build-cache C:\Users\steve\AppData\Local\Temp\arduino_cache_21 1404 -verbose C:\Users\steve\Desktop\PinSim-master\pinSim\pinSim.ino
    C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\steve\Documents\Arduino\libraries -fqbn=teensy:avr:teensyLC:usb=serial,speed=48,opt=o sstd,keys=en-gb -ide-version=10808 -build-path C:\Users\steve\AppData\Local\Temp\arduino_build_53 8276 -warnings=none -build-cache C:\Users\steve\AppData\Local\Temp\arduino_cache_21 1404 -verbose C:\Users\steve\Desktop\PinSim-master\pinSim\pinSim.ino
    Using board 'teensyLC' from platform in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr
    Using core 'teensy3' from platform in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr
    Detecting libraries used...
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=142 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276\\sketch\\pinSim.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=142 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276\\sketch\\pinSim.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=142 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276\\sketch\\pinSim.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=142 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276\\sketch\\pinSim.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=142 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276\\sketch\\pinSim.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=142 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276\\sketch\\pinSim.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=142 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276\\sketch\\pinSim.ino.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=142 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276\\sketch\\xinput.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=142 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire\\utility" "C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire\\Wire.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=142 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire\\utility" "C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire\\WireKinetis.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=142 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire\\utility" "C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire\\utility\\twi.c" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=142 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "C:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master\\Adafruit_ADXL345_U.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=142 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce\\Bounce.cpp" -o nul
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=142 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "C:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master\\EEPROMex.cpp" -o nul
    Generating function prototypes...
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=142 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276\\sketch\\pinSim.ino.cpp" -o "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276\\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\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276\\preproc\\ctags_target_for_gcc_minus_e .cpp"
    Compiling sketch...
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/precompile_helper" "C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr/cores/teensy3" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276" "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -x c++-header -Os --specs=nano.specs -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=142 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr/cores/teensy3" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276/pch/Arduino.h" -o "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276/pch/Arduino.h.gch"
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -Os --specs=nano.specs -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=142 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276/pch" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276\\sketch\\xinput.cpp" -o "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276\\sketch\\xinput.cpp.o"
    "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -Os --specs=nano.specs -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=142 -DARDUINO=10808 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_UNITED_KINGDOM "-IC:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276/pch" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teen sy3" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Wire" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_Sensor-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Adafruit_ADXL345-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\ Bounce" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Average-master" "-IC:\\Users\\steve\\Documents\\Arduino\\libraries\\ Arduino-EEPROMEx-master" "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276\\sketch\\pinSim.ino.cpp" -o "C:\\Users\\steve\\AppData\\Local\\Temp\\arduino_b uild_538276\\sketch\\pinSim.ino.cpp.o"
    C:\Users\steve\AppData\Local\Temp\arduino_build_53 8276\sketch\xinput.cpp: In member function 'void XINPUT::sendXinput()':

    xinput.cpp:299: error: 'XInputUSB' was not declared in this scope
    XInputUSB.send(TXData, USB_TIMEOUT);

    ^

    C:\Users\steve\AppData\Local\Temp\arduino_build_53 8276\sketch\xinput.cpp: In member function 'uint8_t XINPUT::receiveXinput()':

    xinput.cpp:310: error: 'XInputUSB' was not declared in this scope
    if (XInputUSB.available() > 0)

    ^

    xinput.cpp:342: warning: control reaches end of non-void function
    }

    ^

    pinSim: In function 'void processInputs()':
    pinSim:385: warning: suggest parentheses around '&&' within '||'
    if ((reading - lastReading) > -10 && (reading - lastReading) < 10 || (reading - lastReading > 75) || (reading - lastReading < -75))

    ^

    Using library Wire at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire
    Using library Adafruit_Sensor-master at version 1.0.2 in folder: C:\Users\steve\Documents\Arduino\libraries\Adafrui t_Sensor-master
    Using library Adafruit_ADXL345-master at version 1.2.0 in folder: C:\Users\steve\Documents\Arduino\libraries\Adafrui t_ADXL345-master
    Using library Bounce in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Bounce (legacy)
    Using library Average-master in folder: C:\Users\steve\Documents\Arduino\libraries\Average-master (legacy)
    Using library Arduino-EEPROMEx-master at version 1.0.0 in folder: C:\Users\steve\Documents\Arduino\libraries\Arduino-EEPROMEx-master
    'XInputUSB' was not declared in this scope




    haha ! it's like groundhog day this but without Bill Murray !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •