How ATmega 328 input to Arduino