added compatibility for GPIO connected arduino