The document discusses the Arduino integrated development environment and essential functions. It explains that the void setup() function is used to declare pin modes and that void loop() is used for repetitive tasks. It also describes functions for configuring pin modes as inputs or outputs with pinMode(), reading digital and analog pin values with digitalRead(), analogRead(), and writing values to pins with digitalWrite() and analogWrite().
3. http://aicra.ac.in
ARDUINO |Essentials
void setup( )
Description:
All the Modes of Pins are declared within this function.
void loop( )
Description:
Declaration of variables, functions which should execute itself repetitively.
4. http://www.thinkerguru.com
ARDUINO |Essentials
PinMode ( )
Description:
Configures the specified pin to behave either as an input or an output.
Syntax:
pinMode(pin,mode)
Pin: The Pin no.
Mode: INPUT, OUTPUT or INPUT_PULLUP
5. http://aicra.ac.in
ARDUINO | Digital Function( )
digitalRead( )
Description:
Function to read digital values from Digital Pins.
Syntax:
digitalRead (pin)
digitalWrite( )
Description:
Function to Write digital value command to Digital
Pins.
Syntax:
digitalWrite (pin, value)
6. http://aicra.ac.in
ARDINO |
analogRead( ):
Description:
Function to read analog values from Analog
Pins.
Syntax:
analogRead (pin)
analogWrite( )
Description:
Function to Write analog value command to Analog
Pins.
Syntax:
analogWrite (pin, value)
Analog Function ( )