Beruflich Dokumente
Kultur Dokumente
Email : admin@robomart.com
Contact : +91 - 8744000555
-------------------------------------------------------------------------------------------------------------------------------
Note: This tutorial is for the novice user. It shows how to set up Arduino IDE so that C/C++ Source files will be
compiled using GCC. For further information on Arduino IDE, AVR Libc, GCC, AVR ISP, AVR JTAG ICE, and other tools
please refer to the documentation which is also installed on the installation. Procedure described here is followed.
-------------------------------------------------------------------------------------------------------------------------------
2
Email : admin@robomart.com
Contact : +91 - 8744000555
Table of Contents
1. Introduction to ROBOMART Arduino Multi-functionality Shield ................................................... 3
2. Block Description of ROBOMART Multi-functionality Shield ......................................................... 3
3. How to Interface the Multi-functionality Shield on ROBOMART Arduino Board .......................... 4
4. Detailed Connection Settings of Arduino Multi-functionality Shield ............................................. 5
5. Study of some C program using for Arduino Multi-Functionality Shield ....................................... 6
5.1.Blinking of LEDs ........................................................................................................................ 6
3
Email : admin@robomart.com
Contact : +91 - 8744000555
Email : admin@robomart.com
Contact : +91 - 8744000555
Email : admin@robomart.com
Contact : +91 - 8744000555
Email : admin@robomart.com
Contact : +91 - 8744000555
/*
Turn 4 Bit LED and Buzzer ON for one second, then OFF for one second, repeatedly.
*/
// 4 Bit LEDs (L0 – L3) connected to Pin 13, 12, 11, 10 respectively and Buzzer BZ1
// connected to analog pin A1.
// give them a name:
int L0 = 13;
int L1 = 12;
int L2 = 11;
int L3 = 10;
int BZ1 = A1;
digitalWrite(L0, LOW); // turn the LED L0 OFF by making the voltage LOW
digitalWrite(L1, LOW); // turn the LED L1 OFF by making the voltage LOW
digitalWrite(L2, LOW); // turn the LED L2 OFF by making the voltage LOW
digitalWrite(L3, LOW); // turn the LED L3 OFF by making the voltage LOW
digitalWrite(BZ1, LOW); // turn the Buzzer BZ1 OFF by making the voltage LOW
delay(1000); // wait for a second
}
/*************end of the program*************/
7
Email : admin@robomart.com
Contact : +91 - 8744000555