An FPGA-based solution for a MEMS mirrors controller by J. Hui