Designate C++ file type
Update clearPinState function