Don't use String in sketches; put listener/heartbeat logic into Dino.cpp
Old API remains, but now we can tell the Arduino just once to listen to a pin and it'll send us the value every X ms instead of having to constantly ask for it.