MCU independent code for embedded systems actuators