This is the Arduino program algorithm for controlling the actuator.

The algorithm is represented by using a Nassi-Shneiderman diagram (NSD).

The actual Arduino program is disclosed in this bFaaaP Scrapbox page.