I get 2 strange new compiler errors when compiling KontrolIR_V1.07
"'TIMER_ENABLE_PWM' was not declared in this scope" on line 157 of the KIR_Infrared_Tx tab, and;
"'TIMER_DISABLE_PWM' was not declared in this scope" on line 168 of the same tab.
The output suggests TIMER_ENABLE_SEND_PWM and TIMER_DISABLE_SEND_PWM. Those changes produce a clean compile but the KontrolIR no longer operates my devices.
I'd appreciate any thoughts.
Thanks
Shaun
Here's the output:
Code: Select all
Arduino: 1.8.13 (Windows 10), Board: "ATmega328PB Crystal Clock, 4 MHz"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Shaun\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Shaun\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Shaun\Documents\Arduino\libraries -fqbn=m328pb:avr:atmega328pbcc:speed=4mhz -vid-pid=1A86_7523 -ide-version=10813 -build-path C:\Users\Shaun\AppData\Local\Temp\arduino_build_400668 -warnings=none -build-cache C:\Users\Shaun\AppData\Local\Temp\arduino_cache_669350 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avr-gcc.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -verbose C:\Users\Shaun\Documents\Arduino\KontrolIR\KontrolIR_V1.07\KontrolIR_V1.07.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Shaun\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Shaun\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Shaun\Documents\Arduino\libraries -fqbn=m328pb:avr:atmega328pbcc:speed=4mhz -vid-pid=1A86_7523 -ide-version=10813 -build-path C:\Users\Shaun\AppData\Local\Temp\arduino_build_400668 -warnings=none -build-cache C:\Users\Shaun\AppData\Local\Temp\arduino_cache_669350 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avr-gcc.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -verbose C:\Users\Shaun\Documents\Arduino\KontrolIR\KontrolIR_V1.07\KontrolIR_V1.07.ino
Using board 'atmega328pbcc' from platform in folder: C:\Users\Shaun\AppData\Local\Arduino15\packages\m328pb\hardware\avr\1.1.4
Using core 'arduino' from platform in folder: C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3
Detecting libraries used...
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "C:\\Users\\Shaun\\AppData\\Local\\Temp\\arduino_build_400668\\sketch\\KontrolIR_V1.07.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for IRremote.h: [IRremote@2.8.0]
ResolveLibrary(IRremote.h)
-> candidates: [IRremote@2.8.0]
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\AppData\\Local\\Temp\\arduino_build_400668\\sketch\\KontrolIR_V1.07.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\IRremote.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\esp32.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\irPronto.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\irReceive.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\irSend.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_BoseWave.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Denon.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Dish.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_JVC.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_LG.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Lego_PF.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_MagiQuest.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_NEC.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Panasonic.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_RC5_RC6.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Samsung.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Sanyo.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Sharp.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Sharp_alt.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Sony.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Template.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Whynter.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\nRF5.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\sam.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Generating function prototypes...
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\AppData\\Local\\Temp\\arduino_build_400668\\sketch\\KontrolIR_V1.07.ino.cpp" -o "C:\\Users\\Shaun\\AppData\\Local\\Temp\\arduino_build_400668\\preproc\\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE
"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\\Shaun\\AppData\\Local\\Temp\\arduino_build_400668\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\AppData\\Local\\Temp\\arduino_build_400668\\sketch\\KontrolIR_V1.07.ino.cpp" -o "C:\\Users\\Shaun\\AppData\\Local\\Temp\\arduino_build_400668\\sketch\\KontrolIR_V1.07.ino.cpp.o"
C:\Users\Shaun\Documents\Arduino\KontrolIR\KontrolIR_V1.07\KIR_Infrared_Tx.ino: In function 'void KIR_mark(uint16_t)':
KIR_Infrared_Tx:157:5: error: 'TIMER_ENABLE_PWM' was not declared in this scope
TIMER_ENABLE_PWM; // Enable pin 3 PWM output
^~~~~~~~~~~~~~~~
C:\Users\Shaun\Documents\Arduino\KontrolIR\KontrolIR_V1.07\KIR_Infrared_Tx.ino:157:5: note: suggested alternative: 'TIMER_ENABLE_SEND_PWM'
TIMER_ENABLE_PWM; // Enable pin 3 PWM output
^~~~~~~~~~~~~~~~
TIMER_ENABLE_SEND_PWM
C:\Users\Shaun\Documents\Arduino\KontrolIR\KontrolIR_V1.07\KIR_Infrared_Tx.ino: In function 'void KIR_space(uint16_t)':
KIR_Infrared_Tx:168:5: error: 'TIMER_DISABLE_PWM' was not declared in this scope
TIMER_DISABLE_PWM; // Disable IR Carrier output
^~~~~~~~~~~~~~~~~
C:\Users\Shaun\Documents\Arduino\KontrolIR\KontrolIR_V1.07\KIR_Infrared_Tx.ino:168:5: note: suggested alternative: 'TIMER_DISABLE_SEND_PWM'
TIMER_DISABLE_PWM; // Disable IR Carrier output
^~~~~~~~~~~~~~~~~
TIMER_DISABLE_SEND_PWM
Using library IRremote at version 2.8.0 in folder: C:\Users\Shaun\Documents\Arduino\libraries\IRremote
exit status 1
'TIMER_ENABLE_PWM' was not declared in this scope