Arduino
Arduino
Power Vin, 3.3V, 5V, GND Vin: Input voltage to Arduino when using an external
power source.
5V: Regulated power supply used to power
microcontroller and other components on the board.
3.3V: 3.3V supply generated by on-board voltage
regulator. Maximum current draw is 50mA.
GND: ground pins.
Reset Reset Resets the microcontroller.
Analog Pins A0 – A5 Used to provide analog input in the range of 0-5V
Serial 0(Rx), 1(Tx) Used to receive and transmit TTL serial data.
Operating Voltage 5V
SRAM 2 KB
EEPROM 1 KB
void loop() {
// put your main code here, to run
repeatedly:
}
Bare minimum code
setup : It is called only when the Arduino is
powered on or reset. It is used to initialize
variables and pin modes