I edited the question to provide all the code you need. The rest of the code in the .ino file is not releated to the problem. If you can help more I would be very grateful.
I edited the question to provide all the code you need. The rest of the code in the .ino file is not releated to the problem. If you can help more I would be very grateful.