Pregunta de entrevista de Tata Consultancy Services

They asked me to write code for a microcontroller.