We use cookies and other technologies on this website to enhance your user experience.
By clicking any link on this page you are giving your consent to our Privacy Policy and Cookies Policy.
Arduino Programming Tutorial आइकन

1.0 by Metamorfosis


Dec 23, 2017

Arduino Programming Tutorial के बारे में

English

Arduino प्रोग्रामिंग ट्यूटोरियल

1. Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

1.1 Installing the Integrated Development Environment (IDE) 4

1.2 Setting Up the Arduino Board 6

1.3 Using the Integrated Development Environment (IDE) to Prepare

an Arduino Sketch 8

1.4 Uploading and Running the Blink Sketch 11

1.5 Creating and Saving a Sketch 13

1.6 Using Arduino 15

2. Making the Sketch Do Your Bidding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

2.1 Structuring an Arduino Program 20

2.2 Using Simple Primitive Types (Variables) 21

2.3 Using Floating-Point Numbers 23

2.4 Working with Groups of Values 25

2.5 Using Arduino String Functionality 28

2.6 Using C Character Strings 30

2.7 Splitting Comma-Separated Text into Groups 32

2.8 Converting a Number to a String 34

2.9 Converting a String to a Number 36

2.10 Structuring Your Code into Functional Blocks 38

2.11 Returning More Than One Value from a Function 41

2.12 Taking Actions Based on Conditions 44

2.13 Repeating a Sequence of Statements 45

2.14 Repeating Statements with a Counter 47

2.15 Breaking Out of Loops 49

2.16 Taking a Variety of Actions Based on a Single Variable 50

2.17 Comparing Character and Numeric Values 52

2.18 Comparing Strings 54

2.19 Performing Logical Comparisons 55

v

2.20 Performing Bitwise Operations 56

2.21 Combining Operations and Assignment 58

3. Using Mathematical Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61

3.1 Adding, Subtracting, Multiplying, and Dividing 61

3.2 Incrementing and Decrementing Values 62

3.3 Finding the Remainder After Dividing Two Values 63

3.4 Determining the Absolute Value 64

3.5 Constraining a Number to a Range of Values 65

3.6 Finding the Minimum or Maximum of Some Values 66

3.7 Raising a Number to a Power 67

3.8 Taking the Square Root 68

3.9 Rounding Floating-Point Numbers Up and Down 68

3.10 Using Trigonometric Functions 69

3.11 Generating Random Numbers 70

3.12 Setting and Reading Bits 72

3.13 Shifting Bits 75

3.14 Extracting High and Low Bytes in an int or long 77

3.15 Forming an int or long from High and Low Bytes 78

4. Serial Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81

4.1 Sending Debug Information from Arduino to Your Computer 86

4.2 Sending Formatted Text and Numeric Data from Arduino 89

4.3 Receiving Serial Data in Arduino 92

4.4 Sending Multiple Text Fields from Arduino in a Single Message 95

4.5 Receiving Multiple Text Fields in a Single Message in Arduino 98

4.6 Sending Binary Data from Arduino 101

4.7 Receiving Binary Data from Arduino on a Computer 105

4.8 Sending Binary Values from Processing to Arduino 107

4.9 Sending the Value of Multiple Arduino Pins 109

4.10 How to Move the Mouse Cursor on a PC or Mac 112

4.11 Controlling Google Earth Using Arduino 115

4.12 Logging Arduino Data to a File on Your Computer 121

4.13 Sending Data to Two Serial Devices at the Same Time 124

4.14 Receiving Serial Data from Two Devices at the Same Time 128

4.15 Setting Up Processing on Your Computer to Send

and Receive Serial Data 131

नवीनतम संस्करण 1.0 में नया क्या है

Last updated on Dec 23, 2017

Minor bug fixes and improvements. Install or update to the newest version to check it out!

अनुवाद लोड हो रहा है...

अतिरिक्त ऐप जानकारी

नवीनतम संस्करण

निवेदन Arduino Programming Tutorial अपडेट 1.0

द्वारा डाली गई

Jampa Ngodup

Android ज़रूरी है

Android 4.2+

अधिक दिखाएं

Arduino Programming Tutorial स्क्रीनशॉट

टिप्पणी लोड हो रहा है...
भाषाओं
भाषाओं
APKPure की सदस्यता लें
सर्वश्रेष्ठ एंड्रॉइड गेम और ऐप्स के शुरुआती रिलीज, समाचार और गाइड तक पहुंचने वाले पहले व्यक्ति बनें।
जी नहीं, धन्यवाद
साइन अप करें
सफलतापूर्वक सब्सक्राइब!
अब आप APKPure की सदस्यता ले रहे हैं।
APKPure की सदस्यता लें
सर्वश्रेष्ठ एंड्रॉइड गेम और ऐप्स के शुरुआती रिलीज, समाचार और गाइड तक पहुंचने वाले पहले व्यक्ति बनें।
जी नहीं, धन्यवाद
साइन अप करें
सफलता!
अब आप हमारे न्यूज़लेटर की सदस्यता ले चुके हैं।