Fixed problems with the ctor using arduino functionality before the arduino lib is initialized