Now that you’ve programmed and built your Hydroponics System and we have it all working lets track some data! A big part of smart farming is tracking, farmers track the soil health, moisture levels, and water usage.

Let’s think like smart farmers and track how many times the water pump has turned on. Here is the challenge: Using the code we already created add to it to track the amount of time the water pump is turned on.

Need a hint? What is the block we use to get the computer to remember information?

To count how many times the plant has been watered or the pump has turned on.