Can you give me an example of a code on how to make an app about plant monitoring? How can I connect MIT app inventor to Arduino after I finished making the app?

My plan for this project is to make an app about an Arduino-based plant caretaking device that can provide monitoring to plants. And so far, my progress in making the app is I only made a control about how much water the plant monitoring device can deliver and the menu screen of the app. I still don't have a single code inputted in my project, and I am just a student starting to learn about MIT app inventor. Hope that you can help me in my project, thank you!

This community discussion is one programmer's journey building a plant monitoring system and related activities. therre are several code snippets in aia's that might be applicable to your project.