John,
I finely had a chance to get all three sets of boards up and running with your old Nano code. I wanted to do that before I tried updating to the latest version to eliminate variables. I set up Anduino version 1.8.13, changed IRremote2 to IRremote in the code and used Library Manager to install version 3.61 of the IRremote.
When I try to compile the code I get the following error message:
WARNING: library IRremote claims to run on avr, megaavr, samd, esp8266, esp32, stm32, STM32F1, mbed, mbed_nano, rp2040 architecture(s) and may be incompatible with your current board which runs on sam architecture(s).
In file included from C:\Users\roy\OneDrive\Documents\Arduino\libraries\IRremote\src/IRremote.hpp:265:0,
from C:\Users\roy\OneDrive\Documents\Arduino\Balanced Preamp Switching\Volume_Control9pci\Volume_Control9pci.ino:17:
C:\Users\roy\OneDrive\Documents\Arduino\libraries\IRremote\src/private/IRTimer.hpp:1561:2: error: #error Internal code configuration error, no timer functions implemented for this CPU / board
#error Internal code configuration error, no timer functions implemented for this CPU / board
^
Volume_Control9pci:79:18: error: macro "ISR" passed 1 arguments, but takes just 0
ISR (PCINT1_vect){
^
exit status 1
macro "ISR" passed 1 arguments, but takes just 0
Looks like some kind of hardware incompatibility but this is on your Nano that is already running a previous version of your code. Should I be using a different version of arduino or the IRremote library?
Regards,
Roy