Microcontrollers — those integrated circuits that act like small computers — have come a long way in the past few years.