fix some pin assignments, enable reading encrypt pin
initial proximity sensor support