Micro bits blog post #2
This was my first code, but it did not end up working. After doing a little more research I started to get the hang of it. I figured out that I needed to make variables and assign them to a specific pin. This is my end code:
In this code, I made it so that the moisture sensor would display the moisture level, and if the moisture was over 40, the buzzer would go off.