Project struggle

Welcome to the Forum! Read the forum guidelines to see how to properly ask a question and some good information on making a good post.
Please describe what the hardware do you use. You will get faster and better help if you post all your code as requested by the forum guidelines.Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before post…