I need help writing the code for an Arduino. We are trying to automate a cookie making process and would like to get part of it to work. A bowl will start at its home position on a conveyor and will move to position 2, which is located directly in front of a proximity sensor. Once the bowl stops at position 2 this will then actuate an auger motor that will dispense brown sugar in the bowl. The bowl must remain at position 2 for 24.8 seconds (the time it takes to dispense all the brown sugar into the bowl).
I need help writing this code! Thank you!