Lego Mindstorms EV3 Robotics Lesson 19 – Saving data to file on button press

In this tutorial, we learn how to save the reading obtained from an ultrasonic sensor to a text file ONLY when the user presses a button.