/*
class inheritance
override a virtual function from the base class
make a base function visible with USING even if it is overloaded in the derived class
https://forum.arduino.cc/t/using-method-in-derived-class-that-overload-base-class/1228091
2024-02-25
*/
#include "sensor.h"
Sensor2 s;
void setup(){
Serial.begin(115200);
s.begin(1); // from derived class
s.myOtherMethod('b'); // from base class
s.myOtherMethod('c', 3); // from derived class
}
void loop() {
}
//end