it works! Pin class is operatable in digitalout mode