Are you aware of this fork? https://github.com/scpcom/Longduino/ They added useful classes and methods. What about a merge?