Skip to content

Commit dd77ce6

Browse files
authored
Merge pull request #57 from animeshsrivastava24/patch-7
Translated bitWrite
2 parents a2ef55c + 8d74d8e commit dd77ce6

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed
Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: bitWrite()
3-
categories: [ "Functions" ]
4-
subCategories: [ "Bits and Bytes" ]
3+
categories: [ "कार्यों" ]
4+
subCategories: [ "बिट्स और बाइट्स" ]
55
---
66

77

@@ -11,69 +11,69 @@ subCategories: [ "Bits and Bytes" ]
1111
= bitWrite()
1212

1313

14-
// OVERVIEW SECTION STARTS
15-
[#overview]
14+
// अवलोकन अनुभाग शुरू होता है
15+
[#अवलोकन]
1616
--
1717

1818
[float]
19-
=== Description
20-
Writes a bit of a numeric variable.
19+
=== विवरण
20+
न्यूमेरिक वैरिएबल का थोड़ा लिखता है।
2121
[%hardbreaks]
2222

2323

2424
[float]
25-
=== Syntax
25+
=== वाक्य - विन्यास (Syntax)
2626
`bitWrite(x, n, b)`
2727

2828

2929
[float]
3030
=== Parameters
31-
`x`: the numeric variable to which to write. +
32-
`n`: which bit of the number to write, starting at 0 for the least-significant (rightmost) bit. +
33-
`b`: the value to write to the bit (0 or 1).
31+
`x`: संख्यात्मक चर जिस पर लिखना है। +
32+
`n`: कम से कम महत्वपूर्ण (सबसे दाहिने) के लिए 0 से शुरू होने वाली संख्या को लिखने के लिए कौन सा है। +
33+
`b`: बिट (0 या 1) को लिखने का मान।
3434

3535

3636
[float]
37-
=== Returns
37+
=== रिटर्न
3838
Nothing
3939

4040
--
41-
// OVERVIEW SECTION ENDS
41+
// ओवरव्यू अनुभाग अंत
4242

4343

44-
// HOW TO USE SECTION STARTS
45-
[#howtouse]
44+
// कैसे उपयोग करें खंड की शुरुआत
45+
[#कैसेउपयोगकरें]
4646
--
4747

4848
[float]
49-
=== Example Code
50-
Demonstrates the use of bitWrite by printing the value of a variable to the Serial Monitor before and after the use of `bitWrite()`.
49+
=== उदाहरण कोड
50+
`bitWrite()` के उपयोग से पहले और बाद में सीरियल मॉनीटर पर एक वैरिएबल के मान को प्रिंट करके bitWrite के उपयोग को दर्शाता है।.
5151

5252

5353
[source,arduino]
5454
----
5555
void setup() {
5656
Serial.begin(9600);
57-
while (!Serial) {} // wait for serial port to connect. Needed for native USB port only
58-
byte x = 0b10000000; // the 0b prefix indicates a binary constant
57+
while (!Serial) {} // कनेक्ट करने के लिए सीरियल पोर्ट की प्रतीक्षा करें। केवल देशी यूएसबी पोर्ट के लिए आवश्यक है
58+
byte x = 0b10000000; // 0b उपसर्ग एक द्विआधारी स्थिर इंगित करता है
5959
Serial.println(x, BIN); // 10000000
60-
bitWrite(x, 0, 1); // write 1 to the least significant bit of x
60+
bitWrite(x, 0, 1); // x का कम से कम महत्वपूर्ण बिट 1 लिखें
6161
Serial.println(x, BIN); // 10000001
6262
}
6363
6464
void loop() {}
6565
----
6666
[%hardbreaks]
6767
--
68-
// HOW TO USE SECTION ENDS
68+
// कैसे उपयोग करें खंड का अंत
6969

7070

71-
// SEE ALSO SECTION
72-
[#see_also]
71+
// यह भी देखे खंड
72+
[#यह_भी_देखे]
7373
--
7474

7575
[float]
76-
=== See also
76+
=== यह भी देखे
7777

7878
--
79-
// SEE ALSO SECTION ENDS
79+
// यह भी देखे खंड का अंत

0 commit comments

Comments
 (0)