Bifrost library for HC-SR04 - compatibility matrix

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

Bifrost library for HC-SR04

Version: 2.0.0
More details

Compatibility matrix

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

Compilation logs

arduino:avr:uno @ 1.8.4

Inclusion

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

Sketch uses 1332 bytes (4%) of program storage space. Maximum is 32256 bytes.
Global variables use 184 bytes (8%) of dynamic memory, leaving 1864 bytes for local variables. Maximum is 2048 bytes.

examples/HCSR04_SerialOutput

Result: PASS

Sketch uses 5158 bytes (15%) of program storage space. Maximum is 32256 bytes.
Global variables use 324 bytes (15%) of dynamic memory, leaving 1724 bytes for local variables. Maximum is 2048 bytes.

arduino:mbed_nano:nanorp2040connect @ 2.7.2

Inclusion

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:4:1: error: 'HCSR04' does not name a type; did you mean 'HCSR04_H'?
 HCSR04::HCSR04(int trigger, int echo)
 ^~~~~~
 HCSR04_H
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:12:1: error: 'HCSR04' does not name a type; did you mean 'HCSR04_H'?
 HCSR04::HCSR04(int trigger, int echo, int minRange, int maxRange)
 ^~~~~~
 HCSR04_H
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:22:14: error: 'HCSR04' has not been declared
 unsigned int HCSR04::echoInMicroseconds()
              ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: In function 'unsigned int echoInMicroseconds()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:24:18: error: '_trigger' was not declared in this scope
     digitalWrite(_trigger, LOW);
                  ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:24:18: note: suggested alternative: '_toupper'
     digitalWrite(_trigger, LOW);
                  ^~~~~~~~
                  _toupper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:31:23: error: '_echo' was not declared in this scope
     while(digitalRead(_echo) == LOW);
                       ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:31:23: note: suggested alternative: 'memchr'
     while(digitalRead(_echo) == LOW);
                       ^~~~~
                       memchr
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:35:23: error: '_echo' was not declared in this scope
     while(digitalRead(_echo) == HIGH);
                       ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:35:23: note: suggested alternative: 'memchr'
     while(digitalRead(_echo) == HIGH);
                       ^~~~~
                       memchr
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:40:5: error: 'HCSR04' has not been declared
 int HCSR04::distanceInMillimeters()
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: In function 'int distanceInMillimeters()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:47:6: error: '_minRange' was not declared in this scope
  if (_minRange == -1 && _maxRange == -1)
      ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:47:6: note: suggested alternative: '__inline'
  if (_minRange == -1 && _maxRange == -1)
      ^~~~~~~~~
      __inline
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:47:25: error: '_maxRange' was not declared in this scope
  if (_minRange == -1 && _maxRange == -1)
                         ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:52:17: error: '_minRange' was not declared in this scope
  if (distance > _minRange && distance < _maxRange)
                 ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:52:17: note: suggested alternative: '__inline'
  if (distance > _minRange && distance < _maxRange)
                 ^~~~~~~~~
                 __inline
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:52:41: error: '_maxRange' was not declared in this scope
  if (distance > _minRange && distance < _maxRange)
                                         ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:60:6: error: 'HCSR04' has not been declared
 void HCSR04::ToSerial()
      ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: In function 'void ToSerial()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:62:20: error: 'ToString' was not declared in this scope
     Serial.println(ToString());
                    ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:62:20: note: suggested alternative: 'ToSerial'
     Serial.println(ToString());
                    ^~~~~~~~
                    ToSerial
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:65:8: error: 'HCSR04' has not been declared
 String HCSR04::ToString()
        ^~~~~~
Multiple libraries were found for "HCSR04.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/HCSR04
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/HC-SR04
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/HCSR04_ultrasonic_sensor

examples/HCSR04_SerialOutput

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:4:1: error: 'HCSR04' does not name a type; did you mean 'HCSR04_H'?
 HCSR04::HCSR04(int trigger, int echo)
 ^~~~~~
 HCSR04_H
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:12:1: error: 'HCSR04' does not name a type; did you mean 'HCSR04_H'?
 HCSR04::HCSR04(int trigger, int echo, int minRange, int maxRange)
 ^~~~~~
 HCSR04_H
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:22:14: error: 'HCSR04' has not been declared
 unsigned int HCSR04::echoInMicroseconds()
              ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: In function 'unsigned int echoInMicroseconds()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:24:18: error: '_trigger' was not declared in this scope
     digitalWrite(_trigger, LOW);
                  ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:24:18: note: suggested alternative: '_toupper'
     digitalWrite(_trigger, LOW);
                  ^~~~~~~~
                  _toupper
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:31:23: error: '_echo' was not declared in this scope
     while(digitalRead(_echo) == LOW);
                       ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:31:23: note: suggested alternative: 'memchr'
     while(digitalRead(_echo) == LOW);
                       ^~~~~
                       memchr
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:35:23: error: '_echo' was not declared in this scope
     while(digitalRead(_echo) == HIGH);
                       ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:35:23: note: suggested alternative: 'memchr'
     while(digitalRead(_echo) == HIGH);
                       ^~~~~
                       memchr
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:40:5: error: 'HCSR04' has not been declared
 int HCSR04::distanceInMillimeters()
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: In function 'int distanceInMillimeters()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:47:6: error: '_minRange' was not declared in this scope
  if (_minRange == -1 && _maxRange == -1)
      ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:47:6: note: suggested alternative: '__inline'
  if (_minRange == -1 && _maxRange == -1)
      ^~~~~~~~~
      __inline
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:47:25: error: '_maxRange' was not declared in this scope
  if (_minRange == -1 && _maxRange == -1)
                         ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:52:17: error: '_minRange' was not declared in this scope
  if (distance > _minRange && distance < _maxRange)
                 ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:52:17: note: suggested alternative: '__inline'
  if (distance > _minRange && distance < _maxRange)
                 ^~~~~~~~~
                 __inline
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:52:41: error: '_maxRange' was not declared in this scope
  if (distance > _minRange && distance < _maxRange)
                                         ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:60:6: error: 'HCSR04' has not been declared
 void HCSR04::ToSerial()
      ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: In function 'void ToSerial()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:62:20: error: 'ToString' was not declared in this scope
     Serial.println(ToString());
                    ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:62:20: note: suggested alternative: 'ToSerial'
     Serial.println(ToString());
                    ^~~~~~~~
                    ToSerial
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:65:8: error: 'HCSR04' has not been declared
 String HCSR04::ToString()
        ^~~~~~
Multiple libraries were found for "HCSR04.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/HCSR04
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/HC-SR04
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/HCSR04_ultrasonic_sensor

arduino:megaavr:nona4809 @ 1.8.7

Inclusion

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:4:1: error: 'HCSR04' does not name a type; did you mean 'HCSR04_H'?
 HCSR04::HCSR04(int trigger, int echo)
 ^~~~~~
 HCSR04_H
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:12:1: error: 'HCSR04' does not name a type; did you mean 'HCSR04_H'?
 HCSR04::HCSR04(int trigger, int echo, int minRange, int maxRange)
 ^~~~~~
 HCSR04_H
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:22:14: error: 'HCSR04' has not been declared
 unsigned int HCSR04::echoInMicroseconds()
              ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: In function 'unsigned int echoInMicroseconds()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:24:18: error: '_trigger' was not declared in this scope
     digitalWrite(_trigger, LOW);
                  ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:31:23: error: '_echo' was not declared in this scope
     while(digitalRead(_echo) == LOW);
                       ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:31:23: note: suggested alternative: 'memchr'
     while(digitalRead(_echo) == LOW);
                       ^~~~~
                       memchr
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:35:23: error: '_echo' was not declared in this scope
     while(digitalRead(_echo) == HIGH);
                       ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:35:23: note: suggested alternative: 'memchr'
     while(digitalRead(_echo) == HIGH);
                       ^~~~~
                       memchr
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:40:5: error: 'HCSR04' has not been declared
 int HCSR04::distanceInMillimeters()
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: In function 'int distanceInMillimeters()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:47:6: error: '_minRange' was not declared in this scope
  if (_minRange == -1 && _maxRange == -1)
      ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:47:25: error: '_maxRange' was not declared in this scope
  if (_minRange == -1 && _maxRange == -1)
                         ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:52:17: error: '_minRange' was not declared in this scope
  if (distance > _minRange && distance < _maxRange)
                 ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:52:41: error: '_maxRange' was not declared in this scope
  if (distance > _minRange && distance < _maxRange)
                                         ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:60:6: error: 'HCSR04' has not been declared
 void HCSR04::ToSerial()
      ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: In function 'void ToSerial()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:62:20: error: 'ToString' was not declared in this scope
     Serial.println(ToString());
                    ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:62:20: note: suggested alternative: 'ToSerial'
     Serial.println(ToString());
                    ^~~~~~~~
                    ToSerial
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:65:8: error: 'HCSR04' has not been declared
 String HCSR04::ToString()
        ^~~~~~
Multiple libraries were found for "HCSR04.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/HCSR04
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/HCSR04_ultrasonic_sensor
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/HC-SR04

examples/HCSR04_SerialOutput

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:4:1: error: 'HCSR04' does not name a type; did you mean 'HCSR04_H'?
 HCSR04::HCSR04(int trigger, int echo)
 ^~~~~~
 HCSR04_H
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:12:1: error: 'HCSR04' does not name a type; did you mean 'HCSR04_H'?
 HCSR04::HCSR04(int trigger, int echo, int minRange, int maxRange)
 ^~~~~~
 HCSR04_H
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:22:14: error: 'HCSR04' has not been declared
 unsigned int HCSR04::echoInMicroseconds()
              ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: In function 'unsigned int echoInMicroseconds()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:24:18: error: '_trigger' was not declared in this scope
     digitalWrite(_trigger, LOW);
                  ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:31:23: error: '_echo' was not declared in this scope
     while(digitalRead(_echo) == LOW);
                       ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:31:23: note: suggested alternative: 'memchr'
     while(digitalRead(_echo) == LOW);
                       ^~~~~
                       memchr
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:35:23: error: '_echo' was not declared in this scope
     while(digitalRead(_echo) == HIGH);
                       ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:35:23: note: suggested alternative: 'memchr'
     while(digitalRead(_echo) == HIGH);
                       ^~~~~
                       memchr
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:40:5: error: 'HCSR04' has not been declared
 int HCSR04::distanceInMillimeters()
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: In function 'int distanceInMillimeters()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:47:6: error: '_minRange' was not declared in this scope
  if (_minRange == -1 && _maxRange == -1)
      ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:47:25: error: '_maxRange' was not declared in this scope
  if (_minRange == -1 && _maxRange == -1)
                         ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:52:17: error: '_minRange' was not declared in this scope
  if (distance > _minRange && distance < _maxRange)
                 ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:52:41: error: '_maxRange' was not declared in this scope
  if (distance > _minRange && distance < _maxRange)
                                         ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:60:6: error: 'HCSR04' has not been declared
 void HCSR04::ToSerial()
      ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: In function 'void ToSerial()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:62:20: error: 'ToString' was not declared in this scope
     Serial.println(ToString());
                    ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:62:20: note: suggested alternative: 'ToSerial'
     Serial.println(ToString());
                    ^~~~~~~~
                    ToSerial
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:65:8: error: 'HCSR04' has not been declared
 String HCSR04::ToString()
        ^~~~~~
Multiple libraries were found for "HCSR04.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/HCSR04
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/HCSR04_ultrasonic_sensor
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/HC-SR04

arduino:samd:mkrwifi1010 @ 1.8.12

Inclusion

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

Sketch uses 12152 bytes (4%) of program storage space. Maximum is 262144 bytes.
Global variables use 2996 bytes (9%) of dynamic memory, leaving 29772 bytes for local variables. Maximum is 32768 bytes.

examples/HCSR04_SerialOutput

Result: PASS

Sketch uses 15332 bytes (5%) of program storage space. Maximum is 262144 bytes.
Global variables use 3012 bytes (9%) of dynamic memory, leaving 29756 bytes for local variables. Maximum is 32768 bytes.

esp32:esp32:d1_mini32 @ 1.0.6

Inclusion

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:4:1: error: 'HCSR04' does not name a type
 HCSR04::HCSR04(int trigger, int echo)
 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:12:1: error: 'HCSR04' does not name a type
 HCSR04::HCSR04(int trigger, int echo, int minRange, int maxRange)
 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:22:14: error: 'HCSR04' has not been declared
 unsigned int HCSR04::echoInMicroseconds()
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: In function 'unsigned int echoInMicroseconds()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:24:18: error: '_trigger' was not declared in this scope
     digitalWrite(_trigger, LOW);
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:31:23: error: '_echo' was not declared in this scope
     while(digitalRead(_echo) == LOW);
                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:35:23: error: '_echo' was not declared in this scope
     while(digitalRead(_echo) == HIGH);
                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:40:5: error: 'HCSR04' has not been declared
 int HCSR04::distanceInMillimeters()
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: In function 'int distanceInMillimeters()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:47:6: error: '_minRange' was not declared in this scope
  if (_minRange == -1 && _maxRange == -1)
      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:47:25: error: '_maxRange' was not declared in this scope
  if (_minRange == -1 && _maxRange == -1)
                         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:52:17: error: '_minRange' was not declared in this scope
  if (distance > _minRange && distance < _maxRange)
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:52:41: error: '_maxRange' was not declared in this scope
  if (distance > _minRange && distance < _maxRange)
                                         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:60:6: error: 'HCSR04' has not been declared
 void HCSR04::ToSerial()
      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: In function 'void ToSerial()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:62:29: error: 'ToString' was not declared in this scope
     Serial.println(ToString());
                             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:65:8: error: 'HCSR04' has not been declared
 String HCSR04::ToString()
        ^
Multiple libraries were found for "HCSR04.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/HCSR04
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/HCSR04_ultrasonic_sensor
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/HC-SR04

examples/HCSR04_SerialOutput

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:4:1: error: 'HCSR04' does not name a type
 HCSR04::HCSR04(int trigger, int echo)
 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:12:1: error: 'HCSR04' does not name a type
 HCSR04::HCSR04(int trigger, int echo, int minRange, int maxRange)
 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:22:14: error: 'HCSR04' has not been declared
 unsigned int HCSR04::echoInMicroseconds()
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: In function 'unsigned int echoInMicroseconds()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:24:18: error: '_trigger' was not declared in this scope
     digitalWrite(_trigger, LOW);
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:31:23: error: '_echo' was not declared in this scope
     while(digitalRead(_echo) == LOW);
                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:35:23: error: '_echo' was not declared in this scope
     while(digitalRead(_echo) == HIGH);
                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:40:5: error: 'HCSR04' has not been declared
 int HCSR04::distanceInMillimeters()
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: In function 'int distanceInMillimeters()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:47:6: error: '_minRange' was not declared in this scope
  if (_minRange == -1 && _maxRange == -1)
      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:47:25: error: '_maxRange' was not declared in this scope
  if (_minRange == -1 && _maxRange == -1)
                         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:52:17: error: '_minRange' was not declared in this scope
  if (distance > _minRange && distance < _maxRange)
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:52:41: error: '_maxRange' was not declared in this scope
  if (distance > _minRange && distance < _maxRange)
                                         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:60:6: error: 'HCSR04' has not been declared
 void HCSR04::ToSerial()
      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: In function 'void ToSerial()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:62:29: error: 'ToString' was not declared in this scope
     Serial.println(ToString());
                             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Bifrost_library_for_HC-SR04/src/hcsr04.cpp:65:8: error: 'HCSR04' has not been declared
 String HCSR04::ToString()
        ^
Multiple libraries were found for "HCSR04.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/HCSR04
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/HCSR04_ultrasonic_sensor
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/HC-SR04