Added analog, digital and serial I/O.