Text this: Computer control of an inverted pendulum with one degree of freedom