Taking data is the core of any instrumentation project. Data Acquisition Systems (DAQ) come in all shapes and sizes. Believe it or not the CPX can be used as a crude and cheap DAQ. The CPX can easily take temperature data and monitor the temperature in a greenhouse or take humidity readings of a plant to monitor soil content. Before we learn about the different sensors on board the CPX, we want to make sure we can store that data later rather than just having it spit data out via the serial monitor. In this chapter youβre going to make a simple script that prints button presses and then log that in multiple different ways. The button presses are just a simple example but the same methods can be used to log any data you want from the CPX.