moved PinsDevice into TextDevices.cpp