This is the code for my arduino based ball launching machine.