TouchWheel - compatibility matrix

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

TouchWheel

Version: 1.1
More details

Compatibility matrix

Board Claims compatibility Inclusion
BasicTouchSlider
BasicTouchWheel
arduino:avr:uno
1.8.4
Yes PASS PASS PASS
arduino:mbed_nano:nanorp2040connect
2.7.2
No FAIL FAIL FAIL
arduino:megaavr:nona4809
1.8.7
No FAIL FAIL FAIL
arduino:samd:mkrwifi1010
1.8.12
No FAIL FAIL FAIL
esp32:esp32:d1_mini32
1.0.6
No FAIL FAIL FAIL

Compilation logs

arduino:avr:uno @ 1.8.4

Inclusion

Result: PASS

Sketch uses 444 bytes (1%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.

examples/BasicTouchSlider

Result: PASS

Sketch uses 4000 bytes (12%) of program storage space. Maximum is 32256 bytes.
Global variables use 214 bytes (10%) of dynamic memory, leaving 1834 bytes for local variables. Maximum is 2048 bytes.

examples/BasicTouchWheel

Result: PASS

Sketch uses 2668 bytes (8%) of program storage space. Maximum is 32256 bytes.
Global variables use 266 bytes (12%) of dynamic memory, leaving 1782 bytes for local variables. Maximum is 2048 bytes.

arduino:mbed_nano:nanorp2040connect @ 2.7.2

Inclusion

Result: FAIL

WARNING: library TouchWheel claims to run on avr architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:5:0,
                 from /tmp/arduino-testlib1112518827/test/test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In member function 'int AdcTouchChannel::read()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:17:4: error: 'ADMUX' was not declared in this scope
    ADMUX |=   0b11111;
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: error: 'ADCSRA' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: note: suggested alternative: 'ADC0'
    ADCSRA |= (1<<ADSC); //start conversion
    ^~~~~~
    ADC0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: error: 'ADSC' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: note: suggested alternative: 'ADC0'
    ADCSRA |= (1<<ADSC); //start conversion
                  ^~~~
                  ADC0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: error: 'ADIF' was not declared in this scope
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: note: suggested alternative: 'DIR'
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^~~~
                         DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: error: 'ADIF' was not declared in this scope
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: note: suggested alternative: 'DIR'
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^~~~
                  DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In static member function 'static void AdcTouchChannel::setFastAdc()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:38: error: 'ADPS2' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:53: error: 'ADPS1' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:68: error: 'ADPS0' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                                    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:68: note: suggested alternative: 'ADC0'
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                                    ^~~~~
                                                                    ADC0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: error: 'ADCSRA' was not declared in this scope
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: note: suggested alternative: 'ADC0'
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^~~~~~
   ADC0
In file included from /tmp/arduino-testlib1112518827/test/test.ino:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:74:10: error: extra qualification 'TouchWheel::' on member 'isTouching' [-fpermissive]
  boolean TouchWheel::isTouching() {
          ^~~~~~~~~~

examples/BasicTouchSlider

Result: FAIL

WARNING: library TouchWheel claims to run on avr architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchSlider.h:5:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchSlider/BasicTouchSlider.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In member function 'int AdcTouchChannel::read()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:17:4: error: 'ADMUX' was not declared in this scope
    ADMUX |=   0b11111;
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: error: 'ADCSRA' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: note: suggested alternative: 'ADC0'
    ADCSRA |= (1<<ADSC); //start conversion
    ^~~~~~
    ADC0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: error: 'ADSC' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: note: suggested alternative: 'ADC0'
    ADCSRA |= (1<<ADSC); //start conversion
                  ^~~~
                  ADC0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: error: 'ADIF' was not declared in this scope
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: note: suggested alternative: 'DIR'
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^~~~
                         DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: error: 'ADIF' was not declared in this scope
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: note: suggested alternative: 'DIR'
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^~~~
                  DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In static member function 'static void AdcTouchChannel::setFastAdc()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:38: error: 'ADPS2' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:53: error: 'ADPS1' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:68: error: 'ADPS0' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                                    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:68: note: suggested alternative: 'ADC0'
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                                    ^~~~~
                                                                    ADC0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: error: 'ADCSRA' was not declared in this scope
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: note: suggested alternative: 'ADC0'
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^~~~~~
   ADC0

examples/BasicTouchWheel

Result: FAIL

WARNING: library TouchWheel claims to run on avr architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:5:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchWheel/BasicTouchWheel.ino:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In member function 'int AdcTouchChannel::read()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:17:4: error: 'ADMUX' was not declared in this scope
    ADMUX |=   0b11111;
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: error: 'ADCSRA' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: note: suggested alternative: 'ADC0'
    ADCSRA |= (1<<ADSC); //start conversion
    ^~~~~~
    ADC0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: error: 'ADSC' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: note: suggested alternative: 'ADC0'
    ADCSRA |= (1<<ADSC); //start conversion
                  ^~~~
                  ADC0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: error: 'ADIF' was not declared in this scope
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: note: suggested alternative: 'DIR'
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^~~~
                         DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: error: 'ADIF' was not declared in this scope
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: note: suggested alternative: 'DIR'
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^~~~
                  DIR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In static member function 'static void AdcTouchChannel::setFastAdc()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:38: error: 'ADPS2' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:53: error: 'ADPS1' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:68: error: 'ADPS0' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                                    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:68: note: suggested alternative: 'ADC0'
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                                    ^~~~~
                                                                    ADC0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: error: 'ADCSRA' was not declared in this scope
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: note: suggested alternative: 'ADC0'
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^~~~~~
   ADC0
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchWheel/BasicTouchWheel.ino:11:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:74:10: error: extra qualification 'TouchWheel::' on member 'isTouching' [-fpermissive]
  boolean TouchWheel::isTouching() {
          ^~~~~~~~~~

arduino:megaavr:nona4809 @ 1.8.7

Inclusion

Result: FAIL

WARNING: library TouchWheel claims to run on avr architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:5:0,
                 from /tmp/arduino-testlib1112518827/test/test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In member function 'int AdcTouchChannel::read()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:17:4: error: 'ADMUX' was not declared in this scope
    ADMUX |=   0b11111;
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: error: 'ADCSRA' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: note: suggested alternative: 'ADC_t'
    ADCSRA |= (1<<ADSC); //start conversion
    ^~~~~~
    ADC_t
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: error: 'ADSC' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: note: suggested alternative: 'DDRC'
    ADCSRA |= (1<<ADSC); //start conversion
                  ^~~~
                  DDRC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: error: 'ADIF' was not declared in this scope
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: note: suggested alternative: 'ADC0'
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^~~~
                         ADC0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: error: 'ADIF' was not declared in this scope
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: note: suggested alternative: 'ADC0'
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^~~~
                  ADC0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In static member function 'static void AdcTouchChannel::setFastAdc()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:38: error: 'ADPS2' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:53: error: 'ADPS1' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:68: error: 'ADPS0' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                                    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:68: note: suggested alternative: 'ADC0'
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                                    ^~~~~
                                                                    ADC0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: error: 'ADCSRA' was not declared in this scope
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: note: suggested alternative: 'ADC_t'
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^~~~~~
   ADC_t

examples/BasicTouchSlider

Result: FAIL

WARNING: library TouchWheel claims to run on avr architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchSlider.h:5:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchSlider/BasicTouchSlider.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In member function 'int AdcTouchChannel::read()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:17:4: error: 'ADMUX' was not declared in this scope
    ADMUX |=   0b11111;
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: error: 'ADCSRA' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: note: suggested alternative: 'ADC_t'
    ADCSRA |= (1<<ADSC); //start conversion
    ^~~~~~
    ADC_t
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: error: 'ADSC' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: note: suggested alternative: 'DDRC'
    ADCSRA |= (1<<ADSC); //start conversion
                  ^~~~
                  DDRC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: error: 'ADIF' was not declared in this scope
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: note: suggested alternative: 'ADC0'
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^~~~
                         ADC0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: error: 'ADIF' was not declared in this scope
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: note: suggested alternative: 'ADC0'
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^~~~
                  ADC0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In static member function 'static void AdcTouchChannel::setFastAdc()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:38: error: 'ADPS2' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:53: error: 'ADPS1' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:68: error: 'ADPS0' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                                    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:68: note: suggested alternative: 'ADC0'
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                                    ^~~~~
                                                                    ADC0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: error: 'ADCSRA' was not declared in this scope
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: note: suggested alternative: 'ADC_t'
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^~~~~~
   ADC_t

examples/BasicTouchWheel

Result: FAIL

WARNING: library TouchWheel claims to run on avr architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:5:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchWheel/BasicTouchWheel.ino:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In member function 'int AdcTouchChannel::read()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:17:4: error: 'ADMUX' was not declared in this scope
    ADMUX |=   0b11111;
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: error: 'ADCSRA' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: note: suggested alternative: 'ADC_t'
    ADCSRA |= (1<<ADSC); //start conversion
    ^~~~~~
    ADC_t
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: error: 'ADSC' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: note: suggested alternative: 'DDRC'
    ADCSRA |= (1<<ADSC); //start conversion
                  ^~~~
                  DDRC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: error: 'ADIF' was not declared in this scope
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: note: suggested alternative: 'ADC0'
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^~~~
                         ADC0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: error: 'ADIF' was not declared in this scope
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: note: suggested alternative: 'ADC0'
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^~~~
                  ADC0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In static member function 'static void AdcTouchChannel::setFastAdc()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:38: error: 'ADPS2' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:53: error: 'ADPS1' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:68: error: 'ADPS0' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                                    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:68: note: suggested alternative: 'ADC0'
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                                    ^~~~~
                                                                    ADC0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: error: 'ADCSRA' was not declared in this scope
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: note: suggested alternative: 'ADC_t'
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^~~~~~
   ADC_t

arduino:samd:mkrwifi1010 @ 1.8.12

Inclusion

Result: FAIL

WARNING: library TouchWheel claims to run on avr architecture(s) and may be incompatible with your current board which runs on samd architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:5:0,
                 from /tmp/arduino-testlib2696781559/test/test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In member function 'int AdcTouchChannel::read()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:17:4: error: 'ADMUX' was not declared in this scope
    ADMUX |=   0b11111;
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: error: 'ADCSRA' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: note: suggested alternative: 'ADC'
    ADCSRA |= (1<<ADSC); //start conversion
    ^~~~~~
    ADC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: error: 'ADSC' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: note: suggested alternative: 'ADC'
    ADCSRA |= (1<<ADSC); //start conversion
                  ^~~~
                  ADC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: error: 'ADIF' was not declared in this scope
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: note: suggested alternative: 'ADC'
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^~~~
                         ADC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: error: 'ADIF' was not declared in this scope
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: note: suggested alternative: 'ADC'
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^~~~
                  ADC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In static member function 'static void AdcTouchChannel::setFastAdc()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:38: error: 'ADPS2' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:53: error: 'ADPS1' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:68: error: 'ADPS0' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                                    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: error: 'ADCSRA' was not declared in this scope
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: note: suggested alternative: 'ADC'
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^~~~~~
   ADC
In file included from /tmp/arduino-testlib2696781559/test/test.ino:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:74:10: error: extra qualification 'TouchWheel::' on member 'isTouching' [-fpermissive]
  boolean TouchWheel::isTouching() {
          ^~~~~~~~~~

examples/BasicTouchSlider

Result: FAIL

WARNING: library TouchWheel claims to run on avr architecture(s) and may be incompatible with your current board which runs on samd architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchSlider.h:5:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchSlider/BasicTouchSlider.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In member function 'int AdcTouchChannel::read()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:17:4: error: 'ADMUX' was not declared in this scope
    ADMUX |=   0b11111;
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: error: 'ADCSRA' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: note: suggested alternative: 'ADC'
    ADCSRA |= (1<<ADSC); //start conversion
    ^~~~~~
    ADC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: error: 'ADSC' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: note: suggested alternative: 'ADC'
    ADCSRA |= (1<<ADSC); //start conversion
                  ^~~~
                  ADC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: error: 'ADIF' was not declared in this scope
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: note: suggested alternative: 'ADC'
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^~~~
                         ADC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: error: 'ADIF' was not declared in this scope
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: note: suggested alternative: 'ADC'
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^~~~
                  ADC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In static member function 'static void AdcTouchChannel::setFastAdc()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:38: error: 'ADPS2' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:53: error: 'ADPS1' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:68: error: 'ADPS0' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                                    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: error: 'ADCSRA' was not declared in this scope
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: note: suggested alternative: 'ADC'
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^~~~~~
   ADC

examples/BasicTouchWheel

Result: FAIL

WARNING: library TouchWheel claims to run on avr architecture(s) and may be incompatible with your current board which runs on samd architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:5:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchWheel/BasicTouchWheel.ino:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In member function 'int AdcTouchChannel::read()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:17:4: error: 'ADMUX' was not declared in this scope
    ADMUX |=   0b11111;
    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: error: 'ADCSRA' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
    ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: note: suggested alternative: 'ADC'
    ADCSRA |= (1<<ADSC); //start conversion
    ^~~~~~
    ADC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: error: 'ADSC' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: note: suggested alternative: 'ADC'
    ADCSRA |= (1<<ADSC); //start conversion
                  ^~~~
                  ADC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: error: 'ADIF' was not declared in this scope
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: note: suggested alternative: 'ADC'
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^~~~
                         ADC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: error: 'ADIF' was not declared in this scope
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: note: suggested alternative: 'ADC'
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^~~~
                  ADC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In static member function 'static void AdcTouchChannel::setFastAdc()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:38: error: 'ADPS2' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                      ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:53: error: 'ADPS1' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:68: error: 'ADPS0' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                                    ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: error: 'ADCSRA' was not declared in this scope
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: note: suggested alternative: 'ADC'
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^~~~~~
   ADC
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchWheel/BasicTouchWheel.ino:11:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:74:10: error: extra qualification 'TouchWheel::' on member 'isTouching' [-fpermissive]
  boolean TouchWheel::isTouching() {
          ^~~~~~~~~~

esp32:esp32:d1_mini32 @ 1.0.6

Inclusion

Result: FAIL

WARNING: library TouchWheel claims to run on avr architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:5:0,
                 from /tmp/arduino-testlib382578527/test/test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In member function 'int AdcTouchChannel::read()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:17:4: error: 'ADMUX' was not declared in this scope
    ADMUX |=   0b11111;
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: error: 'ADCSRA' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: error: 'ADSC' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: error: 'ADIF' was not declared in this scope
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: error: 'ADIF' was not declared in this scope
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:25:46: error: no matching function for call to 'max(int, long int)'
   return max(0, total / samples - calibration);
                                              ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/algorithm:62:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:142,
                 from /tmp/arduino-sketch-CE913F2C4B2E8EDC16CB800D93D4BB35/sketch/test.ino.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algo.h:3463:5: note: candidate: template<class _Tp, class _Compare> _Tp std::max(std::initializer_list<_Tp>, _Compare)
     max(initializer_list<_Tp> __l, _Compare __comp)
     ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algo.h:3463:5: note:   template argument deduction/substitution failed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:5:0,
                 from /tmp/arduino-testlib382578527/test/test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:25:46: note:   mismatched types 'std::initializer_list<_Tp>' and 'int'
   return max(0, total / samples - calibration);
                                              ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/algorithm:62:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:142,
                 from /tmp/arduino-sketch-CE913F2C4B2E8EDC16CB800D93D4BB35/sketch/test.ino.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algo.h:3457:5: note: candidate: template<class _Tp> _Tp std::max(std::initializer_list<_Tp>)
     max(initializer_list<_Tp> __l)
     ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algo.h:3457:5: note:   template argument deduction/substitution failed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:5:0,
                 from /tmp/arduino-testlib382578527/test/test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:25:46: note:   mismatched types 'std::initializer_list<_Tp>' and 'int'
   return max(0, total / samples - calibration);
                                              ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/algorithm:61:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:142,
                 from /tmp/arduino-sketch-CE913F2C4B2E8EDC16CB800D93D4BB35/sketch/test.ino.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algobase.h:265:5: note: candidate: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
     ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algobase.h:265:5: note:   template argument deduction/substitution failed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:5:0,
                 from /tmp/arduino-testlib382578527/test/test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:25:46: note:   deduced conflicting types for parameter 'const _Tp' ('int' and 'long int')
   return max(0, total / samples - calibration);
                                              ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/algorithm:61:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:142,
                 from /tmp/arduino-sketch-CE913F2C4B2E8EDC16CB800D93D4BB35/sketch/test.ino.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algobase.h:219:5: note: candidate: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
     max(const _Tp& __a, const _Tp& __b)
     ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algobase.h:219:5: note:   template argument deduction/substitution failed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:5:0,
                 from /tmp/arduino-testlib382578527/test/test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:25:46: note:   deduced conflicting types for parameter 'const _Tp' ('int' and 'long int')
   return max(0, total / samples - calibration);
                                              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In static member function 'static void AdcTouchChannel::setFastAdc()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:38: error: 'ADPS2' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:53: error: 'ADPS1' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:68: error: 'ADPS0' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: error: 'ADCSRA' was not declared in this scope
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^
In file included from /tmp/arduino-testlib382578527/test/test.ino:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:74:10: error: extra qualification 'TouchWheel::' on member 'isTouching' [-fpermissive]
  boolean TouchWheel::isTouching() {
          ^

examples/BasicTouchSlider

Result: FAIL

WARNING: library TouchWheel claims to run on avr architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchSlider.h:5:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchSlider/BasicTouchSlider.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In member function 'int AdcTouchChannel::read()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:17:4: error: 'ADMUX' was not declared in this scope
    ADMUX |=   0b11111;
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: error: 'ADCSRA' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: error: 'ADSC' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: error: 'ADIF' was not declared in this scope
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: error: 'ADIF' was not declared in this scope
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:25:46: error: no matching function for call to 'max(int, long int)'
   return max(0, total / samples - calibration);
                                              ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/algorithm:62:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:142,
                 from /tmp/arduino-sketch-D10072FE550F71AEF29DBB7954C2979B/sketch/BasicTouchSlider.ino.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algo.h:3463:5: note: candidate: template<class _Tp, class _Compare> _Tp std::max(std::initializer_list<_Tp>, _Compare)
     max(initializer_list<_Tp> __l, _Compare __comp)
     ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algo.h:3463:5: note:   template argument deduction/substitution failed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchSlider.h:5:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchSlider/BasicTouchSlider.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:25:46: note:   mismatched types 'std::initializer_list<_Tp>' and 'int'
   return max(0, total / samples - calibration);
                                              ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/algorithm:62:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:142,
                 from /tmp/arduino-sketch-D10072FE550F71AEF29DBB7954C2979B/sketch/BasicTouchSlider.ino.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algo.h:3457:5: note: candidate: template<class _Tp> _Tp std::max(std::initializer_list<_Tp>)
     max(initializer_list<_Tp> __l)
     ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algo.h:3457:5: note:   template argument deduction/substitution failed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchSlider.h:5:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchSlider/BasicTouchSlider.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:25:46: note:   mismatched types 'std::initializer_list<_Tp>' and 'int'
   return max(0, total / samples - calibration);
                                              ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/algorithm:61:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:142,
                 from /tmp/arduino-sketch-D10072FE550F71AEF29DBB7954C2979B/sketch/BasicTouchSlider.ino.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algobase.h:265:5: note: candidate: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
     ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algobase.h:265:5: note:   template argument deduction/substitution failed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchSlider.h:5:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchSlider/BasicTouchSlider.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:25:46: note:   deduced conflicting types for parameter 'const _Tp' ('int' and 'long int')
   return max(0, total / samples - calibration);
                                              ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/algorithm:61:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:142,
                 from /tmp/arduino-sketch-D10072FE550F71AEF29DBB7954C2979B/sketch/BasicTouchSlider.ino.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algobase.h:219:5: note: candidate: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
     max(const _Tp& __a, const _Tp& __b)
     ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algobase.h:219:5: note:   template argument deduction/substitution failed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchSlider.h:5:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchSlider/BasicTouchSlider.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:25:46: note:   deduced conflicting types for parameter 'const _Tp' ('int' and 'long int')
   return max(0, total / samples - calibration);
                                              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In static member function 'static void AdcTouchChannel::setFastAdc()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:38: error: 'ADPS2' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:53: error: 'ADPS1' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:68: error: 'ADPS0' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: error: 'ADCSRA' was not declared in this scope
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchSlider/BasicTouchSlider.ino: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchSlider/BasicTouchSlider.ino:3:20: error: 'A1' was not declared in this scope
 TouchSlider ts(A0, A1);
                    ^

examples/BasicTouchWheel

Result: FAIL

WARNING: library TouchWheel claims to run on avr architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:5:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchWheel/BasicTouchWheel.ino:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In member function 'int AdcTouchChannel::read()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:17:4: error: 'ADMUX' was not declared in this scope
    ADMUX |=   0b11111;
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:4: error: 'ADCSRA' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:18:18: error: 'ADSC' was not declared in this scope
    ADCSRA |= (1<<ADSC); //start conversion
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:19:25: error: 'ADIF' was not declared in this scope
    while(!(ADCSRA & (1<<ADIF))); //wait for conversion to finish
                         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:20:18: error: 'ADIF' was not declared in this scope
    ADCSRA |= (1<<ADIF); //reset the flag
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:25:46: error: no matching function for call to 'max(int, long int)'
   return max(0, total / samples - calibration);
                                              ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/algorithm:62:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:142,
                 from /tmp/arduino-sketch-4AAFD8A16459338DBBD2C87DE30BAA69/sketch/BasicTouchWheel.ino.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algo.h:3463:5: note: candidate: template<class _Tp, class _Compare> _Tp std::max(std::initializer_list<_Tp>, _Compare)
     max(initializer_list<_Tp> __l, _Compare __comp)
     ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algo.h:3463:5: note:   template argument deduction/substitution failed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:5:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchWheel/BasicTouchWheel.ino:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:25:46: note:   mismatched types 'std::initializer_list<_Tp>' and 'int'
   return max(0, total / samples - calibration);
                                              ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/algorithm:62:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:142,
                 from /tmp/arduino-sketch-4AAFD8A16459338DBBD2C87DE30BAA69/sketch/BasicTouchWheel.ino.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algo.h:3457:5: note: candidate: template<class _Tp> _Tp std::max(std::initializer_list<_Tp>)
     max(initializer_list<_Tp> __l)
     ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algo.h:3457:5: note:   template argument deduction/substitution failed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:5:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchWheel/BasicTouchWheel.ino:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:25:46: note:   mismatched types 'std::initializer_list<_Tp>' and 'int'
   return max(0, total / samples - calibration);
                                              ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/algorithm:61:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:142,
                 from /tmp/arduino-sketch-4AAFD8A16459338DBBD2C87DE30BAA69/sketch/BasicTouchWheel.ino.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algobase.h:265:5: note: candidate: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
     ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algobase.h:265:5: note:   template argument deduction/substitution failed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:5:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchWheel/BasicTouchWheel.ino:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:25:46: note:   deduced conflicting types for parameter 'const _Tp' ('int' and 'long int')
   return max(0, total / samples - calibration);
                                              ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/algorithm:61:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:142,
                 from /tmp/arduino-sketch-4AAFD8A16459338DBBD2C87DE30BAA69/sketch/BasicTouchWheel.ino.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algobase.h:219:5: note: candidate: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
     max(const _Tp& __a, const _Tp& __b)
     ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_algobase.h:219:5: note:   template argument deduction/substitution failed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:5:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchWheel/BasicTouchWheel.ino:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:25:46: note:   deduced conflicting types for parameter 'const _Tp' ('int' and 'long int')
   return max(0, total / samples - calibration);
                                              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h: In static member function 'static void AdcTouchChannel::setFastAdc()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:38: error: 'ADPS2' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:53: error: 'ADPS1' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:29:68: error: 'ADPS0' was not declared in this scope
   const unsigned char PS_128 = (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);
                                                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/AdcTouchChannel.h:31:3: error: 'ADCSRA' was not declared in this scope
   ADCSRA &= ~PS_128;  // remove bits set by Arduino library
   ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchWheel/BasicTouchWheel.ino:11:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/src/TouchWheel.h:74:10: error: extra qualification 'TouchWheel::' on member 'isTouching' [-fpermissive]
  boolean TouchWheel::isTouching() {
          ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchWheel/BasicTouchWheel.ino:13:19: error: 'A1' was not declared in this scope
 TouchWheel tw(A0, A1, A2);
                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/TouchWheel/examples/BasicTouchWheel/BasicTouchWheel.ino:13:23: error: 'A2' was not declared in this scope
 TouchWheel tw(A0, A1, A2);
                       ^