read pins