PLS7 shield - compatibility matrix

This report was generated on Wednesday, 23-Feb-22 22:48:15 CET using arduino-testlib.

PLS7 shield

Version: 1.3.0
More details

Compatibility matrix

Board Claims compatibility Inclusion
demoLED
demoSwitches
demo7SEG
demoAll
demoButtons
arduino:avr:uno
1.8.4
Yes ⚠️ FAIL PASS PASS PASS PASS PASS
arduino:mbed_nano:nanorp2040connect
2.7.2
No FAIL FAIL FAIL FAIL FAIL FAIL
arduino:megaavr:nona4809
1.8.7
No FAIL FAIL FAIL FAIL FAIL FAIL
arduino:samd:mkrwifi1010
1.8.12
No FAIL FAIL FAIL FAIL FAIL FAIL
esp32:esp32:d1_mini32
1.0.6
No FAIL FAIL FAIL FAIL FAIL FAIL

Compilation logs

arduino:avr:uno @ 1.8.4

Inclusion

Result: FAIL
This library has no main header file so an empty one was created.

/tmp/arduino-testlib2838821397/test/test.ino:1:10: fatal error: PLS7_shield.h: No such file or directory
 #include <PLS7_shield.h>
          ^~~~~~~~~~~~~~~
compilation terminated.

examples/demo7SEG

Result: PASS

Sketch uses 672 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 16 bytes (0%) of dynamic memory, leaving 2032 bytes for local variables. Maximum is 2048 bytes.

examples/demoAll

Result: PASS

Sketch uses 996 bytes (3%) of program storage space. Maximum is 32256 bytes.
Global variables use 16 bytes (0%) of dynamic memory, leaving 2032 bytes for local variables. Maximum is 2048 bytes.

examples/demoButtons

Result: PASS

Sketch uses 982 bytes (3%) of program storage space. Maximum is 32256 bytes.
Global variables use 16 bytes (0%) of dynamic memory, leaving 2032 bytes for local variables. Maximum is 2048 bytes.

examples/demoLED

Result: PASS

Sketch uses 812 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 16 bytes (0%) of dynamic memory, leaving 2032 bytes for local variables. Maximum is 2048 bytes.

examples/demoSwitches

Result: PASS

Sketch uses 680 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 16 bytes (0%) of dynamic memory, leaving 2032 bytes for local variables. Maximum is 2048 bytes.

arduino:mbed_nano:nanorp2040connect @ 2.7.2

Inclusion

Result: FAIL
This library has no main header file so an empty one was created.

/tmp/arduino-testlib255917532/test/test.ino:1:10: fatal error: PLS7_shield.h: No such file or directory
 #include <PLS7_shield.h>
          ^~~~~~~~~~~~~~~
compilation terminated.

examples/demo7SEG

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:13:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER2_COMPA_vect)
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: error: 'DDRD' was not declared in this scope
  DDRD = 0xff; //port D output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: note: suggested alternative: 'DIR'
  DDRD = 0xff; //port D output
  ^~~~
  DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: error: 'DDRC' was not declared in this scope
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: note: suggested alternative: 'DIR'
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
  DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: error: 'DDRB' was not declared in this scope
  DDRB = 0x3f; //PB5 - PB0 output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: note: suggested alternative: 'DIR'
  DDRB = 0x3f; //PB5 - PB0 output
  ^~~~
  DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: note: suggested alternative: 'TIMER'
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
  TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:33:2: error: 'sei' was not declared in this scope
  sei();  //I = 1 (interrupt enable)
  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:18: error: 'PORTB' was not declared in this scope
 #define SHLD_HI (PORTB |= (1<<5))
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:17: error: 'PORTC' was not declared in this scope
 #define SCL_LO (PORTC &= ~(1<<5))
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: error: 'PINC' was not declared in this scope
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: note: suggested alternative: 'NC'
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~

examples/demoAll

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:13:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER2_COMPA_vect)
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: error: 'DDRD' was not declared in this scope
  DDRD = 0xff; //port D output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: note: suggested alternative: 'DIR'
  DDRD = 0xff; //port D output
  ^~~~
  DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: error: 'DDRC' was not declared in this scope
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: note: suggested alternative: 'DIR'
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
  DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: error: 'DDRB' was not declared in this scope
  DDRB = 0x3f; //PB5 - PB0 output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: note: suggested alternative: 'DIR'
  DDRB = 0x3f; //PB5 - PB0 output
  ^~~~
  DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: note: suggested alternative: 'TIMER'
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
  TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:33:2: error: 'sei' was not declared in this scope
  sei();  //I = 1 (interrupt enable)
  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:18: error: 'PORTB' was not declared in this scope
 #define SHLD_HI (PORTB |= (1<<5))
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:17: error: 'PORTC' was not declared in this scope
 #define SCL_LO (PORTC &= ~(1<<5))
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: error: 'PINC' was not declared in this scope
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: note: suggested alternative: 'NC'
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~

examples/demoButtons

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:13:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER2_COMPA_vect)
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: error: 'DDRD' was not declared in this scope
  DDRD = 0xff; //port D output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: note: suggested alternative: 'DIR'
  DDRD = 0xff; //port D output
  ^~~~
  DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: error: 'DDRC' was not declared in this scope
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: note: suggested alternative: 'DIR'
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
  DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: error: 'DDRB' was not declared in this scope
  DDRB = 0x3f; //PB5 - PB0 output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: note: suggested alternative: 'DIR'
  DDRB = 0x3f; //PB5 - PB0 output
  ^~~~
  DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: note: suggested alternative: 'TIMER'
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
  TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:33:2: error: 'sei' was not declared in this scope
  sei();  //I = 1 (interrupt enable)
  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:18: error: 'PORTB' was not declared in this scope
 #define SHLD_HI (PORTB |= (1<<5))
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:17: error: 'PORTC' was not declared in this scope
 #define SCL_LO (PORTC &= ~(1<<5))
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: error: 'PINC' was not declared in this scope
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: note: suggested alternative: 'NC'
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~

examples/demoLED

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:13:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER2_COMPA_vect)
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: error: 'DDRD' was not declared in this scope
  DDRD = 0xff; //port D output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: note: suggested alternative: 'DIR'
  DDRD = 0xff; //port D output
  ^~~~
  DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: error: 'DDRC' was not declared in this scope
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: note: suggested alternative: 'DIR'
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
  DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: error: 'DDRB' was not declared in this scope
  DDRB = 0x3f; //PB5 - PB0 output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: note: suggested alternative: 'DIR'
  DDRB = 0x3f; //PB5 - PB0 output
  ^~~~
  DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: note: suggested alternative: 'TIMER'
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
  TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:33:2: error: 'sei' was not declared in this scope
  sei();  //I = 1 (interrupt enable)
  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:18: error: 'PORTB' was not declared in this scope
 #define SHLD_HI (PORTB |= (1<<5))
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:17: error: 'PORTC' was not declared in this scope
 #define SCL_LO (PORTC &= ~(1<<5))
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: error: 'PINC' was not declared in this scope
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: note: suggested alternative: 'NC'
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~

examples/demoSwitches

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:13:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER2_COMPA_vect)
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: error: 'DDRD' was not declared in this scope
  DDRD = 0xff; //port D output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: note: suggested alternative: 'DIR'
  DDRD = 0xff; //port D output
  ^~~~
  DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: error: 'DDRC' was not declared in this scope
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: note: suggested alternative: 'DIR'
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
  DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: error: 'DDRB' was not declared in this scope
  DDRB = 0x3f; //PB5 - PB0 output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: note: suggested alternative: 'DIR'
  DDRB = 0x3f; //PB5 - PB0 output
  ^~~~
  DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: note: suggested alternative: 'TIMER'
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
  TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:33:2: error: 'sei' was not declared in this scope
  sei();  //I = 1 (interrupt enable)
  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:18: error: 'PORTB' was not declared in this scope
 #define SHLD_HI (PORTB |= (1<<5))
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:17: error: 'PORTC' was not declared in this scope
 #define SCL_LO (PORTC &= ~(1<<5))
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: error: 'PINC' was not declared in this scope
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: note: suggested alternative: 'NC'
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~

arduino:megaavr:nona4809 @ 1.8.7

Inclusion

Result: FAIL
This library has no main header file so an empty one was created.

/tmp/arduino-testlib255917532/test/test.ino:1:10: fatal error: PLS7_shield.h: No such file or directory
 #include <PLS7_shield.h>
          ^~~~~~~~~~~~~~~
compilation terminated.

examples/demo7SEG

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: note: suggested alternative: 'TCB2'
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
  TCB2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: note: suggested alternative: 'TCB2'
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
  TCB2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: note: suggested alternative: 'TIMERB2'
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
  TIMERB2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: error: 'PINC' was not declared in this scope
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: note: suggested alternative: 'PIN0'
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~

examples/demoAll

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: note: suggested alternative: 'TCB2'
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
  TCB2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: note: suggested alternative: 'TCB2'
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
  TCB2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: note: suggested alternative: 'TIMERB2'
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
  TIMERB2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: error: 'PINC' was not declared in this scope
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: note: suggested alternative: 'PIN0'
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~

examples/demoButtons

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: note: suggested alternative: 'TCB2'
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
  TCB2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: note: suggested alternative: 'TCB2'
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
  TCB2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: note: suggested alternative: 'TIMERB2'
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
  TIMERB2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: error: 'PINC' was not declared in this scope
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: note: suggested alternative: 'PIN0'
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~

examples/demoLED

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: note: suggested alternative: 'TCB2'
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
  TCB2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: note: suggested alternative: 'TCB2'
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
  TCB2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: note: suggested alternative: 'TIMERB2'
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
  TIMERB2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: error: 'PINC' was not declared in this scope
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: note: suggested alternative: 'PIN0'
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~

examples/demoSwitches

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: note: suggested alternative: 'TCB2'
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
  TCB2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: note: suggested alternative: 'TCB2'
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
  TCB2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: note: suggested alternative: 'TIMERB2'
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
  TIMERB2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: error: 'PINC' was not declared in this scope
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: note: suggested alternative: 'PIN0'
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^~~

arduino:samd:mkrwifi1010 @ 1.8.12

Inclusion

Result: FAIL
This library has no main header file so an empty one was created.

/tmp/arduino-testlib2838821397/test/test.ino:1:10: fatal error: PLS7_shield.h: No such file or directory
 #include <PLS7_shield.h>
          ^~~~~~~~~~~~~~~
compilation terminated.

examples/demo7SEG

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on samd architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:13:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER2_COMPA_vect)
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: error: 'DDRD' was not declared in this scope
  DDRD = 0xff; //port D output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: error: 'DDRC' was not declared in this scope
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: note: suggested alternative: 'ADC'
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
  ADC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: error: 'DDRB' was not declared in this scope
  DDRB = 0x3f; //PB5 - PB0 output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: note: suggested alternative: 'TCC2'
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
  TCC2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: note: suggested alternative: 'TCC2'
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
  TCC2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:33:2: error: 'sei' was not declared in this scope
  sei();  //I = 1 (interrupt enable)
  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: error: no match for 'operator|=' (operand types are '_EPortType' and 'int')
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note: candidate: operator|=(_EPortType&, int) <built-in>
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note:   conversion of argument 1 would be ill-formed:
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:32: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SHLD_HI (PORTB |= (1<<5))
                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:24: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
 #define SHLD_LO (PORTB &= ~(1<<5))
                  ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:24: note: candidate: operator&=(_EPortType&, int) <built-in>
 #define SHLD_LO (PORTB &= ~(1<<5))
                  ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:24: note:   conversion of argument 1 would be ill-formed:
 #define SHLD_LO (PORTB &= ~(1<<5))
                  ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:33: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SHLD_LO (PORTB &= ~(1<<5))
                                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: error: no match for 'operator|=' (operand types are '_EPortType' and 'int')
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note: candidate: operator|=(_EPortType&, int) <built-in>
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note:   conversion of argument 1 would be ill-formed:
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:32: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SHLD_HI (PORTB |= (1<<5))
                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:23: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
 #define SCL_LO (PORTC &= ~(1<<5))
                 ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:23: note: candidate: operator&=(_EPortType&, int) <built-in>
 #define SCL_LO (PORTC &= ~(1<<5))
                 ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:23: note:   conversion of argument 1 would be ill-formed:
 #define SCL_LO (PORTC &= ~(1<<5))
                 ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:32: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SCL_LO (PORTC &= ~(1<<5))
                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:4:23: error: no match for 'operator|=' (operand types are '_EPortType' and 'int')
 #define SCL_HI (PORTC |= (1<<5))
                 ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:59:3: note: in expansion of macro 'SCL_HI'
   SCL_HI;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:4:23: note: candidate: operator|=(_EPortType&, int) <built-in>
 #define SCL_HI (PORTC |= (1<<5))
                 ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:59:3: note: in expansion of macro 'SCL_HI'
   SCL_HI;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:4:23: note:   conversion of argument 1 would be ill-formed:
 #define SCL_HI (PORTC |= (1<<5))
                 ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:59:3: note: in expansion of macro 'SCL_HI'
   SCL_HI;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/l

examples/demoAll

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on samd architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:13:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER2_COMPA_vect)
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: error: 'DDRD' was not declared in this scope
  DDRD = 0xff; //port D output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: error: 'DDRC' was not declared in this scope
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: note: suggested alternative: 'ADC'
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
  ADC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: error: 'DDRB' was not declared in this scope
  DDRB = 0x3f; //PB5 - PB0 output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: note: suggested alternative: 'TCC2'
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
  TCC2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: note: suggested alternative: 'TCC2'
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
  TCC2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:33:2: error: 'sei' was not declared in this scope
  sei();  //I = 1 (interrupt enable)
  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: error: no match for 'operator|=' (operand types are '_EPortType' and 'int')
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note: candidate: operator|=(_EPortType&, int) <built-in>
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note:   conversion of argument 1 would be ill-formed:
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:32: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SHLD_HI (PORTB |= (1<<5))
                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:24: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
 #define SHLD_LO (PORTB &= ~(1<<5))
                  ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:24: note: candidate: operator&=(_EPortType&, int) <built-in>
 #define SHLD_LO (PORTB &= ~(1<<5))
                  ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:24: note:   conversion of argument 1 would be ill-formed:
 #define SHLD_LO (PORTB &= ~(1<<5))
                  ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:33: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SHLD_LO (PORTB &= ~(1<<5))
                                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: error: no match for 'operator|=' (operand types are '_EPortType' and 'int')
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note: candidate: operator|=(_EPortType&, int) <built-in>
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note:   conversion of argument 1 would be ill-formed:
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:32: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SHLD_HI (PORTB |= (1<<5))
                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:23: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
 #define SCL_LO (PORTC &= ~(1<<5))
                 ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:23: note: candidate: operator&=(_EPortType&, int) <built-in>
 #define SCL_LO (PORTC &= ~(1<<5))
                 ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:23: note:   conversion of argument 1 would be ill-formed:
 #define SCL_LO (PORTC &= ~(1<<5))
                 ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:32: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SCL_LO (PORTC &= ~(1<<5))
                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:4:23: error: no match for 'operator|=' (operand types are '_EPortType' and 'int')
 #define SCL_HI (PORTC |= (1<<5))
                 ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:59:3: note: in expansion of macro 'SCL_HI'
   SCL_HI;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:4:23: note: candidate: operator|=(_EPortType&, int) <built-in>
 #define SCL_HI (PORTC |= (1<<5))
                 ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:59:3: note: in expansion of macro 'SCL_HI'
   SCL_HI;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:4:23: note:   conversion of argument 1 would be ill-formed:
 #define SCL_HI (PORTC |= (1<<5))
                 ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:59:3: note: in expansion of macro 'SCL_HI'
   SCL_HI;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/l

examples/demoButtons

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on samd architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:13:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER2_COMPA_vect)
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: error: 'DDRD' was not declared in this scope
  DDRD = 0xff; //port D output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: error: 'DDRC' was not declared in this scope
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: note: suggested alternative: 'ADC'
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
  ADC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: error: 'DDRB' was not declared in this scope
  DDRB = 0x3f; //PB5 - PB0 output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: note: suggested alternative: 'TCC2'
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
  TCC2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: note: suggested alternative: 'TCC2'
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
  TCC2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:33:2: error: 'sei' was not declared in this scope
  sei();  //I = 1 (interrupt enable)
  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: error: no match for 'operator|=' (operand types are '_EPortType' and 'int')
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note: candidate: operator|=(_EPortType&, int) <built-in>
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note:   conversion of argument 1 would be ill-formed:
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:32: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SHLD_HI (PORTB |= (1<<5))
                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:24: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
 #define SHLD_LO (PORTB &= ~(1<<5))
                  ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:24: note: candidate: operator&=(_EPortType&, int) <built-in>
 #define SHLD_LO (PORTB &= ~(1<<5))
                  ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:24: note:   conversion of argument 1 would be ill-formed:
 #define SHLD_LO (PORTB &= ~(1<<5))
                  ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:33: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SHLD_LO (PORTB &= ~(1<<5))
                                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: error: no match for 'operator|=' (operand types are '_EPortType' and 'int')
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note: candidate: operator|=(_EPortType&, int) <built-in>
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note:   conversion of argument 1 would be ill-formed:
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:32: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SHLD_HI (PORTB |= (1<<5))
                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:23: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
 #define SCL_LO (PORTC &= ~(1<<5))
                 ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:23: note: candidate: operator&=(_EPortType&, int) <built-in>
 #define SCL_LO (PORTC &= ~(1<<5))
                 ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:23: note:   conversion of argument 1 would be ill-formed:
 #define SCL_LO (PORTC &= ~(1<<5))
                 ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:32: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SCL_LO (PORTC &= ~(1<<5))
                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:4:23: error: no match for 'operator|=' (operand types are '_EPortType' and 'int')
 #define SCL_HI (PORTC |= (1<<5))
                 ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:59:3: note: in expansion of macro 'SCL_HI'
   SCL_HI;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:4:23: note: candidate: operator|=(_EPortType&, int) <built-in>
 #define SCL_HI (PORTC |= (1<<5))
                 ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:59:3: note: in expansion of macro 'SCL_HI'
   SCL_HI;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:4:23: note:   conversion of argument 1 would be ill-formed:
 #define SCL_HI (PORTC |= (1<<5))
                 ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:59:3: note: in expansion of macro 'SCL_HI'
   SCL_HI;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/l

examples/demoLED

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on samd architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:13:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER2_COMPA_vect)
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: error: 'DDRD' was not declared in this scope
  DDRD = 0xff; //port D output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: error: 'DDRC' was not declared in this scope
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: note: suggested alternative: 'ADC'
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
  ADC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: error: 'DDRB' was not declared in this scope
  DDRB = 0x3f; //PB5 - PB0 output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: note: suggested alternative: 'TCC2'
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
  TCC2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: note: suggested alternative: 'TCC2'
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
  TCC2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:33:2: error: 'sei' was not declared in this scope
  sei();  //I = 1 (interrupt enable)
  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: error: no match for 'operator|=' (operand types are '_EPortType' and 'int')
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note: candidate: operator|=(_EPortType&, int) <built-in>
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note:   conversion of argument 1 would be ill-formed:
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:32: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SHLD_HI (PORTB |= (1<<5))
                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:24: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
 #define SHLD_LO (PORTB &= ~(1<<5))
                  ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:24: note: candidate: operator&=(_EPortType&, int) <built-in>
 #define SHLD_LO (PORTB &= ~(1<<5))
                  ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:24: note:   conversion of argument 1 would be ill-formed:
 #define SHLD_LO (PORTB &= ~(1<<5))
                  ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:33: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SHLD_LO (PORTB &= ~(1<<5))
                                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: error: no match for 'operator|=' (operand types are '_EPortType' and 'int')
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note: candidate: operator|=(_EPortType&, int) <built-in>
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note:   conversion of argument 1 would be ill-formed:
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:32: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SHLD_HI (PORTB |= (1<<5))
                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:23: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
 #define SCL_LO (PORTC &= ~(1<<5))
                 ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:23: note: candidate: operator&=(_EPortType&, int) <built-in>
 #define SCL_LO (PORTC &= ~(1<<5))
                 ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:23: note:   conversion of argument 1 would be ill-formed:
 #define SCL_LO (PORTC &= ~(1<<5))
                 ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:32: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SCL_LO (PORTC &= ~(1<<5))
                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:4:23: error: no match for 'operator|=' (operand types are '_EPortType' and 'int')
 #define SCL_HI (PORTC |= (1<<5))
                 ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:59:3: note: in expansion of macro 'SCL_HI'
   SCL_HI;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:4:23: note: candidate: operator|=(_EPortType&, int) <built-in>
 #define SCL_HI (PORTC |= (1<<5))
                 ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:59:3: note: in expansion of macro 'SCL_HI'
   SCL_HI;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:4:23: note:   conversion of argument 1 would be ill-formed:
 #define SCL_HI (PORTC |= (1<<5))
                 ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:59:3: note: in expansion of macro 'SCL_HI'
   SCL_HI;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/l

examples/demoSwitches

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on samd architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:13:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER2_COMPA_vect)
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: error: 'DDRD' was not declared in this scope
  DDRD = 0xff; //port D output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: error: 'DDRC' was not declared in this scope
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: note: suggested alternative: 'ADC'
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^~~~
  ADC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: error: 'DDRB' was not declared in this scope
  DDRB = 0x3f; //PB5 - PB0 output
  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: note: suggested alternative: 'TCC2'
  TCCR2A = 0x02; //timer2: CTC mode
  ^~~~~~
  TCC2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: note: suggested alternative: 'TCC2'
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^~~~~~
  TCC2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:33:2: error: 'sei' was not declared in this scope
  sei();  //I = 1 (interrupt enable)
  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: error: no match for 'operator|=' (operand types are '_EPortType' and 'int')
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note: candidate: operator|=(_EPortType&, int) <built-in>
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note:   conversion of argument 1 would be ill-formed:
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:32: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SHLD_HI (PORTB |= (1<<5))
                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:24: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
 #define SHLD_LO (PORTB &= ~(1<<5))
                  ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:24: note: candidate: operator&=(_EPortType&, int) <built-in>
 #define SHLD_LO (PORTB &= ~(1<<5))
                  ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:24: note:   conversion of argument 1 would be ill-formed:
 #define SHLD_LO (PORTB &= ~(1<<5))
                  ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:8:33: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SHLD_LO (PORTB &= ~(1<<5))
                                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:52:2: note: in expansion of macro 'SHLD_LO'
  SHLD_LO;
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: error: no match for 'operator|=' (operand types are '_EPortType' and 'int')
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note: candidate: operator|=(_EPortType&, int) <built-in>
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:24: note:   conversion of argument 1 would be ill-formed:
 #define SHLD_HI (PORTB |= (1<<5))
                  ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:32: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SHLD_HI (PORTB |= (1<<5))
                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:53:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI; //load buffer
  ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:23: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
 #define SCL_LO (PORTC &= ~(1<<5))
                 ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:23: note: candidate: operator&=(_EPortType&, int) <built-in>
 #define SCL_LO (PORTC &= ~(1<<5))
                 ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:23: note:   conversion of argument 1 would be ill-formed:
 #define SCL_LO (PORTC &= ~(1<<5))
                 ~~~~~~^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:32: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define SCL_LO (PORTC &= ~(1<<5))
                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:4:23: error: no match for 'operator|=' (operand types are '_EPortType' and 'int')
 #define SCL_HI (PORTC |= (1<<5))
                 ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:59:3: note: in expansion of macro 'SCL_HI'
   SCL_HI;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:4:23: note: candidate: operator|=(_EPortType&, int) <built-in>
 #define SCL_HI (PORTC |= (1<<5))
                 ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:59:3: note: in expansion of macro 'SCL_HI'
   SCL_HI;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:4:23: note:   conversion of argument 1 would be ill-formed:
 #define SCL_HI (PORTC |= (1<<5))
                 ~~~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:59:3: note: in expansion of macro 'SCL_HI'
   SCL_HI;
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/l

esp32:esp32:d1_mini32 @ 1.0.6

Inclusion

Result: FAIL
This library has no main header file so an empty one was created.

/tmp/arduino-testlib3514558984/test/test.ino:1:25: fatal error: PLS7_shield.h: No such file or directory
compilation terminated.

examples/demo7SEG

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:13:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER2_COMPA_vect)
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: error: 'DDRD' was not declared in this scope
  DDRD = 0xff; //port D output
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: error: 'DDRC' was not declared in this scope
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: error: 'DDRB' was not declared in this scope
  DDRB = 0x3f; //PB5 - PB0 output
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:18: error: 'PORTB' was not declared in this scope
 #define SHLD_HI (PORTB |= (1<<5))
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:17: error: 'PORTC' was not declared in this scope
 #define SCL_LO (PORTC &= ~(1<<5))
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: error: 'PINC' was not declared in this scope
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::buttonState(byte)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:87:24: error: 'A1' was not declared in this scope
    return !digitalRead(A1);
                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:90:24: error: 'A2' was not declared in this scope
    return !digitalRead(A2);
                        ^

examples/demoAll

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:13:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER2_COMPA_vect)
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: error: 'DDRD' was not declared in this scope
  DDRD = 0xff; //port D output
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: error: 'DDRC' was not declared in this scope
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: error: 'DDRB' was not declared in this scope
  DDRB = 0x3f; //PB5 - PB0 output
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:18: error: 'PORTB' was not declared in this scope
 #define SHLD_HI (PORTB |= (1<<5))
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:17: error: 'PORTC' was not declared in this scope
 #define SCL_LO (PORTC &= ~(1<<5))
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: error: 'PINC' was not declared in this scope
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::buttonState(byte)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:87:24: error: 'A1' was not declared in this scope
    return !digitalRead(A1);
                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:90:24: error: 'A2' was not declared in this scope
    return !digitalRead(A2);
                        ^

examples/demoButtons

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:13:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER2_COMPA_vect)
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: error: 'DDRD' was not declared in this scope
  DDRD = 0xff; //port D output
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: error: 'DDRC' was not declared in this scope
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: error: 'DDRB' was not declared in this scope
  DDRB = 0x3f; //PB5 - PB0 output
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:18: error: 'PORTB' was not declared in this scope
 #define SHLD_HI (PORTB |= (1<<5))
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:17: error: 'PORTC' was not declared in this scope
 #define SCL_LO (PORTC &= ~(1<<5))
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: error: 'PINC' was not declared in this scope
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::buttonState(byte)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:87:24: error: 'A1' was not declared in this scope
    return !digitalRead(A1);
                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:90:24: error: 'A2' was not declared in this scope
    return !digitalRead(A2);
                        ^

examples/demoLED

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:13:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER2_COMPA_vect)
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: error: 'DDRD' was not declared in this scope
  DDRD = 0xff; //port D output
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: error: 'DDRC' was not declared in this scope
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: error: 'DDRB' was not declared in this scope
  DDRB = 0x3f; //PB5 - PB0 output
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:18: error: 'PORTB' was not declared in this scope
 #define SHLD_HI (PORTB |= (1<<5))
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:17: error: 'PORTC' was not declared in this scope
 #define SCL_LO (PORTC &= ~(1<<5))
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: error: 'PINC' was not declared in this scope
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::buttonState(byte)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:87:24: error: 'A1' was not declared in this scope
    return !digitalRead(A1);
                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:90:24: error: 'A2' was not declared in this scope
    return !digitalRead(A2);
                        ^

examples/demoSwitches

Result: FAIL

WARNING: library PLS7_shield claims to run on avr architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:13:4: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER2_COMPA_vect)
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In constructor 'PLS7shield::PLS7shield()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:24:2: error: 'DDRD' was not declared in this scope
  DDRD = 0xff; //port D output
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:25:2: error: 'DDRC' was not declared in this scope
  DDRC = 0xe0; //PC5 outpir, PC4-PC0 input
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:26:2: error: 'DDRB' was not declared in this scope
  DDRB = 0x3f; //PB5 - PB0 output
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:29:2: error: 'TCCR2A' was not declared in this scope
  TCCR2A = 0x02; //timer2: CTC mode
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:30:2: error: 'TCCR2B' was not declared in this scope
  TCCR2B = 0x04; //timer2: fclk = fosc/64
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:31:2: error: 'OCR2A' was not declared in this scope
  OCR2A = 249; //timer2 period: 250 Tclk (OCR0A + 1 = 250)
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:32:2: error: 'TIMSK2' was not declared in this scope
  TIMSK2 = 0x02; //timer2 output compare match A interrupt enable
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::readSwitches()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:7:18: error: 'PORTB' was not declared in this scope
 #define SHLD_HI (PORTB |= (1<<5))
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:51:2: note: in expansion of macro 'SHLD_HI'
  SHLD_HI;
  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:5:17: error: 'PORTC' was not declared in this scope
 #define SCL_LO (PORTC &= ~(1<<5))
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:58:3: note: in expansion of macro 'SCL_LO'
   SCL_LO;
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:6:14: error: 'PINC' was not declared in this scope
 #define SDA (PINC & (1 << 4))
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:61:7: note: in expansion of macro 'SDA'
   if (SDA)
       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp: In member function 'byte PLS7shield::buttonState(byte)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:87:24: error: 'A1' was not declared in this scope
    return !digitalRead(A1);
                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/PLS7_shield/PLS7shield.cpp:90:24: error: 'A2' was not declared in this scope
    return !digitalRead(A2);
                        ^