setup default pin to 7