|
1 | 1 | ---
|
2 | 2 | title: Entity Title
|
3 | 3 | title_expanded: Less Than or Equal To
|
4 |
| -categories: [ "Structure" ] |
5 |
| -subCategories: [ "Subcategory Name" ] |
| 4 | +categories: [ "संरचना" ] |
| 5 | +subCategories: [ "उपश्रेणी नाम" ] |
6 | 6 | ---
|
7 |
| -// ARDUINO LANGUAGE REFERENCE TAGS (above) ►►►►► ALWAYS INCLUDE IN YOUR FILE ◄◄◄◄◄ |
8 |
| -// title will show up in the Index of all Reference terms |
9 |
| -// If the title is an operator write it out in words in title_expanded |
10 |
| -// categories: Pick between Structure, Variable or Function |
11 |
| -// The subcategory within the ones available in the index ("Digital I/O", "Arithmetic Operators") |
| 7 | +// आर्डुइनो लैंग्वेजेज रेफ्रीजेज टीजीएस (ऊपर) ►►►►► हमेशा अपने फ़ाइल में शामिल करें ◄◄◄◄◄ |
| 8 | +// शीर्षक सभी संदर्भ शर्तों के सूचकांक में दिखाई देगा |
| 9 | +// यदि शीर्षक एक ऑपरेटर है तो इसे title_expanded में शब्दों में लिखें |
| 10 | +// श्रेणियां: संरचना, चर या फ़ंक्शन के बीच चुनें |
| 11 | +// अनुक्रमणिका में उपलब्ध लोगों के भीतर उपश्रेणी ("डिजिटल I/O", "अंकगणितीय ऑपरेटर") |
12 | 12 |
|
13 | 13 |
|
14 | 14 |
|
15 |
| -// PAGE TITLE |
16 |
| -= title |
| 15 | +// पृष्ठ का शीर्षक |
| 16 | += शीर्षक |
17 | 17 |
|
18 | 18 |
|
19 | 19 |
|
20 |
| -// OVERVIEW SECTION STARTS |
21 |
| -[#overview] |
| 20 | +// अवलोकन अनुभाग शुरू होता है |
| 21 | +[#अवलोकन] |
22 | 22 | --
|
23 | 23 |
|
24 | 24 | [float]
|
25 |
| -=== Description |
26 |
| -// Describe what this Reference term does, and what it is used for ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄ |
27 |
| -Writes an analog value (http://arduino.cc/en/Tutorial/PWM[PWM wave]) to a pin. Can be used to light a LED at varying brightnesses or drive a motor at various speeds. After a call to `analogWrite()`, the pin will generate a steady square wave of the specified duty cycle until the next call to `analogWrite()` (or a call to `digitalRead()` or `digitalWrite()` on the same pin). The frequency of the PWM signal on most pins is approximately 490 Hz. On the Uno and similar boards, pins 5 and 6 have a frequency of approximately 980 Hz. |
| 25 | +=== विवरण |
| 26 | +// वर्णन करें कि यह संदर्भ शब्द क्या करता है, और इसका उपयोग किस लिए किया जाता है ►►►►► यह अनुभाग में मैंडेटरी है ◄◄◄◄◄ |
| 27 | +एक पिन करने के लिए एक अनुरूप (http://arduino.cc/en/Tutorial/PWM[PWM wave]) मूल्य लिखता है। अलग-अलग चमक पर एक एलईडी प्रकाश करने या विभिन्न गति से मोटर चलाने के लिए इस्तेमाल किया जा सकता है। `analogWrite()` के लिए एक कॉल के बाद, अगली कॉल `analogWrite()` (या `digitalRead()` या `digitalWrite()`) के लिए अगली कॉल तक पिन निर्दिष्ट कर्तव्य चक्र की एक स्थिर वर्ग तरंग उत्पन्न करेगा उसी पिन पर| अधिकांश पिनों पर पीडब्लूएम सिग्नल की आवृत्ति लगभग 490 हर्ट्ज है। ऊनो और इसी तरह के बोर्डों पर, पिन 5 और 6 में लगभग 980 हर्ट्ज की आवृत्ति होती है। |
28 | 28 | [%hardbreaks]
|
29 | 29 |
|
30 | 30 | image::http://arduino.cc/en/uploads/Main/ArduinoUno_R3_Front_450px.jpg[caption="", title="A beautiful Arduino UNO"]
|
31 | 31 | [%hardbreaks]
|
32 | 32 |
|
33 | 33 |
|
34 | 34 | [float]
|
35 |
| -=== Syntax |
36 |
| -// Enter Reference term syntax, please specify all available parameters ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄ |
| 35 | +=== वाक्य - विन्यास (Syntax) |
| 36 | +// संदर्भ शब्द वाक्य रचना दर्ज करें, कृपया सभी उपलब्ध पैरामीटर निर्दिष्ट करें ►►►►► यह अनुभाग में मैंडेटरी है ◄◄◄◄◄ |
37 | 37 | `analogWrite(pin, value)`
|
38 | 38 |
|
39 | 39 |
|
40 | 40 | [float]
|
41 |
| -=== Parameters |
42 |
| -// List all available parameters, please describe them one by one adding the data type (e.g int, boolean, char, String, float, long, double...) ►►►►► THIS SECTION IS MANDATORY FOR FUNCTIONS ◄◄◄◄◄ |
43 |
| -`pin`: the number of the pin to write to. Allowed data types: int. |
| 41 | +=== पैरामीटर |
| 42 | +// सभी उपलब्ध मापदंडों की सूची, डेटा प्रकार (जैसे int, boolean, char, String, float, long, double...) को जोड़कर एक-एक करके उनका वर्णन करें। ►►►►► इस अनुभाग में अवसरों के लिए भंडार है ◄◄◄◄◄ |
| 43 | +`pin`: Arduino पिन को लिखने के लिए। अनुमत डेटा प्रकार: `int`। |
44 | 44 |
|
45 |
| -`value`: the duty cycle between 0 (always off) and 255 (always on). Allowed data types: int. |
| 45 | +`value`: कर्तव्य चक्र: 0 (हमेशा बंद) और 255 (हमेशा) के बीच। अनुमत डेटा प्रकार: `int`. |
46 | 46 |
|
47 | 47 |
|
48 | 48 | [float]
|
49 | 49 | === Returns
|
50 |
| -// Enter what the function returns (e.g. HIGH or LOW), if there is no return please write: _Nothing_ ►►►►► THIS SECTION IS MANDATORY FOR FUNCTIONS ◄◄◄◄◄ |
| 50 | +// फ़ंक्शन क्या देता है दर्ज करें (जैसे HIGH या LOW), अगर कोई वापसी नहीं है तो कृपया लिखें: _Nothing_ ►►►►► इस अनुभाग में अवसरों के लिए भंडार है ◄◄◄◄◄ |
51 | 51 | Nothing
|
52 | 52 |
|
53 | 53 | --
|
54 |
| -// OVERVIEW SECTION ENDS |
| 54 | +// ओवरव्यू अनुभाग अंत |
55 | 55 |
|
56 | 56 |
|
57 | 57 |
|
58 |
| -// HOW TO USE SECTION STARTS |
59 |
| -[#howtouse] |
| 58 | +// कैसे उपयोग करें खंड की शुरुआत |
| 59 | +[#कैसेउपयोगकरें] |
60 | 60 | --
|
61 | 61 |
|
62 | 62 | [float]
|
63 |
| -=== Example Code |
64 |
| -// Describe what the example code is all about and add relevant code ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄ |
65 |
| -Sets the output to the LED proportional to the value read from the potentiometer. |
| 63 | +=== उदाहरण कोड |
| 64 | +// वर्णन करें कि उदाहरण कोड क्या है और संबंधित कोड जोड़ें ►►►►► यह अनुभाग में मैंडेटरी है ◄◄◄◄◄ |
| 65 | +पोटेंशियोमीटर से पढ़े जाने वाले मूल्य के लिए आनुपातिक एलईडी आउटपुट को सेट करता है| |
66 | 66 |
|
67 | 67 | [source,arduino]
|
68 |
| -// Add relevant code that exemplify the use of the Reference term, |
69 |
| -// Please note that sometimes when copy-pasting code, a few spaces can be added at the beginnng of each line of code. |
70 |
| -// If that happens, please remove the extra spaces. Thanks! |
| 68 | +// प्रासंगिक कोड जोड़ें जो संदर्भ शब्द के उपयोग की मिसाल पेश करता है, |
| 69 | +// कृपया ध्यान दें कि कभी-कभी कोड को कॉपी करते समय, कोड की प्रत्येक पंक्ति की शुरुआत में कुछ रिक्त स्थान जोड़े जा सकते हैं। |
| 70 | +// यदि ऐसा होता है, तो कृपया अतिरिक्त स्थान हटा दें। धन्यवाद! |
71 | 71 | ----
|
72 |
| -int ledPin = 9; // LED connected to digital pin 9 |
73 |
| -int analogPin = 3; // potentiometer connected to analog pin 3 |
74 |
| -int val = 0; // variable to store the read value |
| 72 | +int ledPin = 9; // एलईडी डिजिटल पिन 9 से जुड़ा है |
| 73 | +int analogPin = 3; // पोटेंशियोमीटर एनालॉग पिन 3 से जुड़ा है |
| 74 | +int val = 0; // चर मान को संग्रहीत करने के लिए |
75 | 75 |
|
76 | 76 | void setup() {
|
77 |
| - pinMode(ledPin, OUTPUT); // sets the pin as output |
| 77 | + pinMode(ledPin, OUTPUT); // पिन को आउटपुट के रूप में सेट करता है |
78 | 78 | }
|
79 | 79 |
|
80 | 80 | void loop() {
|
81 |
| - val = analogRead(analogPin); // read the input pin |
82 |
| - analogWrite(ledPin, val / 4); // analogRead values go from 0 to 1023, analogWrite values from 0 to 255 |
| 81 | + val = analogRead(analogPin); // इनपुट पिन पढ़ें |
| 82 | + analogWrite(ledPin, val / 4); // analogRead मान 0 से 1023 तक जाता है, analogWrite मान 0 से 255 तक |
83 | 83 | }
|
84 | 84 | ----
|
85 | 85 | [%hardbreaks]
|
86 | 86 |
|
87 | 87 |
|
88 | 88 | [float]
|
89 |
| -=== Notes and Warnings |
90 |
| -// Add useful notes, tips, caveat, known issues, and warnings about this Reference term |
91 |
| -This is because of interactions with the `millis()` and `delay()` functions. |
| 89 | +=== नोट्स और चेतावनी |
| 90 | +// इस संदर्भ शब्द के बारे में उपयोगी नोट्स, टिप्स, कैविएट, ज्ञात समस्याएँ और चेतावनी जोड़ें |
| 91 | +यह `millis()` और `delay()` कार्यों के साथ बातचीत के कारण होता है | |
92 | 92 | [%hardbreaks]
|
93 | 93 | image::http://arduino.cc/en/uploads/Main/ArduinoUno_R3_Front_450px.jpg[caption="", title="A beautiful Arduino UNO"]
|
94 | 94 | [%hardbreaks]
|
95 | 95 |
|
96 | 96 | --
|
97 |
| -// HOW TO USE SECTION ENDS |
| 97 | +// कैसे उपयोग करें खंड का अंत |
98 | 98 |
|
99 | 99 |
|
100 | 100 |
|
101 |
| -// SEE ALSO SECTION |
102 |
| -[#see_also] |
| 101 | +// यह भी देखे खंड |
| 102 | +[#यह_भी_देखे] |
103 | 103 | --
|
104 | 104 |
|
105 | 105 | [float]
|
106 |
| -=== See also |
107 |
| -// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#), |
108 |
| -// definitions: (please add the tag #DEFINITION#), and examples of Projects and Tutorials |
109 |
| -// examples: (please add the tag #EXAMPLE#) |
| 106 | +=== यह भी देखे |
| 107 | +// प्रासंगिक सामग्री को श्रेणी से लिंक करें, जैसे कि अन्य संदर्भ शब्द (कृपया टैग #भाषा# जोड़ें), |
| 108 | +// परिभाषाएँ: (कृपया #परिभाषा# टैग जोड़ें), और परियोजनाओं और ट्यूटोरियल के उदाहरण |
| 109 | +// उदाहरण: (कृपया टैग जोड़ें #उदाहरण#) |
110 | 110 |
|
111 | 111 | [role="language"]
|
112 |
| -// Whenever you want to link to another Reference term, or more in general to a relative link, |
113 |
| -// use the syntax shown below. Please note that the file format is subsituted by attribute. |
114 |
| -// Please note that you always need to replace spaces that you might find in folder/file names with %20 |
115 |
| -// The entire link to Reference pages must be lower case, regardless of the case of the folders and files in this repository. |
116 |
| -// For language tag, items will be automatically generated for any other item of the same subcategory, |
117 |
| -// no need to add links to other pages of the same subcategory |
118 |
| -// if you don't include this section, a minimal version with only the other pages of the same subcategory will be generated. |
119 |
| -* #LANGUAGE# link:../AsciiDoc_Template-Parent_Of_Entities[Parent Of Entities] |
120 |
| -* #LANGUAGE# link:../../AsciiDoc_Dictionary/AsciiDoc_Template-Dictionary[AsciiDoc Template Dictionary] |
| 112 | +// जब भी आप किसी अन्य संदर्भ अवधि के लिए लिंक करना चाहते हैं, या सामान्य रूप से एक रिश्तेदार लिंक के लिए, |
| 113 | +// नीचे दिखाए गए सिंटैक्स का उपयोग करें। कृपया ध्यान दें कि फ़ाइल स्वरूप को विशेषता द्वारा सदस्यता दी गई है। |
| 114 | +// कृपया ध्यान दें कि आपको हमेशा उन स्थानों को बदलने की आवश्यकता है जो आपको %20 के साथ फ़ोल्डर/फ़ाइल नामों में मिल सकते हैं |
| 115 | +// इस रिपॉजिटरी में फ़ोल्डर्स और फाइलों के मामले की परवाह किए बिना, संदर्भ पृष्ठों का पूरा लिंक कमतर होना चाहिए। |
| 116 | +// भाषा टैग के लिए, आइटम एक ही उपश्रेणी के किसी भी अन्य आइटम के लिए स्वचालित रूप से उत्पन्न होंगे, |
| 117 | +// एक ही उपश्रेणी के अन्य पृष्ठों के लिंक जोड़ने की आवश्यकता नहीं है |
| 118 | +// यदि आप इस अनुभाग को शामिल नहीं करते हैं, तो एक ही उपश्रेणी के अन्य पृष्ठों के साथ एक न्यूनतम संस्करण उत्पन्न होगा। |
| 119 | +* #भाषा# link:../AsciiDoc_Template-Parent_Of_Entities[Parent Of Entities] |
| 120 | +* #भाषा# link:../../AsciiDoc_Dictionary/AsciiDoc_Template-Dictionary[AsciiDoc Template Dictionary] |
121 | 121 |
|
122 | 122 | [role="definition"]
|
123 |
| -// Please note that all external links need to be opened in a new window/tab by adding ^ right before the last square brackets |
124 |
| -* #DEFINITION# http://arduino.cc/en/Tutorial/PWM[PWM^] |
| 123 | +// कृपया ध्यान दें कि अंतिम वर्ग कोष्ठक से ठीक पहले ^ जोड़कर सभी बाहरी लिंक को एक नई विंडो/टैब में खोलने की आवश्यकता है |
| 124 | +* #परिभाषा# http://arduino.cc/en/Tutorial/PWM[PWM^] |
125 | 125 |
|
126 | 126 | [role="example"]
|
127 |
| -// Please note that all external links need to be opened in a new window/tab by adding ^ right before the last square brackets |
128 |
| -* #EXAMPLE# http://arduino.cc/en/Tutorial/Blink[Blink^] |
| 127 | +// कृपया ध्यान दें कि अंतिम वर्ग कोष्ठक से ठीक पहले ^ जोड़कर सभी बाहरी लिंक को एक नई विंडो/टैब में खोलने की आवश्यकता है |
| 128 | +* #उदाहरण# http://arduino.cc/en/Tutorial/Blink[Blink^] |
129 | 129 |
|
130 | 130 | --
|
131 |
| -// SEE ALSO SECTION ENDS |
| 131 | +// यह भी देखें समाप्त |
0 commit comments