pinMode(2, INPUT_PULLUP);pinMode(13,OUTPUT); En el pin 2, usamos un INPUT_PULLUP, que se explicaacá. El pin13 simplemente como OUTPU, para encender led que viene en la placa de Arduino. En la línea 10 se lee la información del pin 2, y se almacena en una variable que llamamos...
like delay(), millis() and micros(). If you change Timer0 registers, this may influence the Arduino timer function. So you should know what you are doing. Timer1: Timer1 is a 16bit timer. In the Arduino world the Servo library uses Timer1 on Arduino Uno (Timer5 ...