I used your library today in VS Code, I verified the code on Arduino UNO board,
the IDE said: 'class Ultrasonic' has no member named 'read'
by the intellisense function, I knew it was "distanceRead()" rather than "read()", so maybe there need an update in your example code in PlatformIO extension for VS Code.
I used your library today in VS Code, I verified the code on Arduino UNO board,
the IDE said: 'class Ultrasonic' has no member named 'read'
by the intellisense function, I knew it was "distanceRead()" rather than "read()", so maybe there need an update in your example code in PlatformIO extension for VS Code.