Hello i am New to arduino programming and i need some help. I have made a diy pellet burner and i want to make a controller for this with arduino. I want the following things.
If arduino reads voltage 5v at pin1 then do something once and then do something else in a loop. But when arduino reads voltage 0v then do something else. How can i write this code? Thanks in advance