get sensor data
Changed tabs to spaces and converted into two separate functions
Merge pull request #35 from brian-smith723/get_sensor_data

get sensor data