Hi
Start by making a new sketch/program.
First make sure you are able to output something.
Compile and test.
Then try to read a value.
Compile and test.
Then try to control the stepper motor.
Compile and test.
And so on and so on.
That way you verify that you get all the little pieces to work before you attempt to put it all into the final solution.
This makes it much easier to locate and fix errors.
" if (TypeOfMixture = 1 & ThicknessOfMixture = 1)"
I assume you are attempting to check to values here.
What you actually is doing is assigning two values and do a bit operation.
The correct syntax is:
if (TypeOfMixture == 1 && ThicknessOfMixture == 1){