ATMEL Microcontroller Position Control