Tested code working in simulation, but GPIO doesn't work as expected

Also, there is no buffer, which is required