Added cap sensor and pin out