Check pins on startup