IR Remote Momentary Control of Linear Actuator

As long as the IR remote push button is pressed, a repeat code is sent.

The first receive message sets the operation, the repeat code message does just that.

delay ( ) is hardly every recommended to use in your sketches.