arduino repeating code. h> Next, you need to create a new …