First piston needs streamlining


#1

1) Give a description of the problem
Piston works fine but needs to be cleaned up and I don’t know how to go about it.

2) What is the expected behavior?
Works as expected

3) What is happening/not happening?
Works as expected

**4) Post a Green Snapshot of the piston![image|45x37]

5) Attach any logs (From ST IDE and by turning logging level to Full)
(PASTE YOUR LOGS HERE BETWEEN THE MARKS)

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#3

Deleted my previous post (if you saw it) coz I read your piston wrong.

You piston is fine, no need to refine


#4

I was able to break down the second section to a elseif to make it simpler, and with that I only needed one final else statement.