I’ve always wanted to make a solar tracker. Watched a few youtube videos and decided to make one myself.
And the sketch itself. I’ve uploaded it to pastebin.com for easy reference.
I tried to make a horizontal movement function and a vertical movement function, and call them in the loop function but it keeps failing to call them. Decided to leave the if- statements in the open like that.