PID control of an inverted pendulum using Arduino Mega 2560 - Odwrócone wahadło