Add code to read flex sensor