Arduino project with ACE 128 Absolute Encoder and seperate tabs feasibility

Hello everyone,

Currently working on a project where the reading of an absolute encoder Bourn Ace 128 and a slide linear potentiometer along with 2 buttons will control a projection screen winding and unwinding.

I have made the code compile but the project is restricted to not using actual equipment for testing.
Since my experience in using tabs as well as some of the source code for the encoder is not great I would appreciate some feedback on the code by anyone willing to give me some help.

I have attached the code in .ino form

If I was supposed to present it differently please let me know.

ACE128.ino (2.89 KB)

main_code_for_coursework.ino (2.47 KB)

Potentiometer.ino (222 Bytes)

If I was supposed to present it differently please let me know.

Your files are small enough to post inline (using code tags), so they do not have to be downloaded separately.