just to update you on the changes I’ve made;
- I am using pin 9 as an output instead of pin 1.
- I am now powering the relay board with its own power supply.
- I am now powering the nano with its own power supply.
- I have gone from external pull up resistors to internal pull up.
- I have changed my code for my outputs to the relays to read the following
-
digitalWrite(5, HIGH); pinMode(5, OUTPUT);