Sorry for being vague, I'm very new to all this.
I borrowed the code from other projects on the internet and I'm trying to make it work for my application, it's a steep learning curve.
The resistors are 10K are wired to GND along with the input pin on the board, the other leg of the button goes to Vin on the board (I'm not sure if that is pull up or pull down) .
The button portion of the code worked when I uploaded it to the board itself, as did the other.
Thanks