Merging two outputs into one circuit was not very hard, but making the code work the way I wanted to was quite tricky.
The plan was to have the servo turn once every 24 hours after the switch is switched on. Using a delay function blocks the rest of the code, therefore using a counter makes more sense. However, this code is very unfamiliar to me so it took a while to apply it to the complete code. With some help from my colleagues, I manged to figure out to work the feeder the way I wanted to.
Is this a good/useful/informative piece of content to include in the project? Have your say!