What are the factors to consider when choosing a microcontroller?