@Kirwin, your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with your project
See About the Installation & Troubleshooting category.
Please post your code.
Please provide a wiring diagram; reasonably sized photo (around 300kB) of handdrawn one is fine.