IT WORKS.
Fixed an error with pins that did not work in debug, switched the hardware configuration slightly.