Skip to content

Commit d129ab4

Browse files
author
Akshay Sharma
committed
Add content Language/Variables
1 parent 7c90a6d commit d129ab4

28 files changed

+1614
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
:source-highlighter: pygments
2+
:pygments-style: arduino
3+
:ext-relative: adoc
4+
5+
6+
= byte()
7+
8+
9+
// OVERVIEW SECTION STARTS
10+
[#overview]
11+
--
12+
13+
[float]
14+
=== Description
15+
Converts a value to the link:byte{ext-relative}[byte] data type.
16+
[%hardbreaks]
17+
18+
19+
[float]
20+
=== Syntax
21+
`byte(x)`
22+
23+
24+
[float]
25+
=== Parameters
26+
`x`: a value of any type
27+
28+
[float]
29+
=== Returns
30+
`byte`
31+
32+
--
33+
// OVERVIEW SECTION ENDS
34+
35+
36+
37+
38+
// HOW TO USE SECTION STARTS
39+
[#howtouse]
40+
--
41+
42+
[float]
43+
=== See also
44+
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
45+
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
46+
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
47+
[role="language"]
48+
* #LANGUAGE# link:byte{ext-relative}[byte]
49+
50+
51+
--
52+
// HOW TO USE SECTION ENDS
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
:source-highlighter: pygments
2+
:pygments-style: arduino
3+
:ext-relative: adoc
4+
5+
6+
= char()
7+
8+
9+
// OVERVIEW SECTION STARTS
10+
[#overview]
11+
--
12+
13+
[float]
14+
=== Description
15+
Converts a value to the link:char{ext-relative}[char] data type.
16+
[%hardbreaks]
17+
18+
19+
[float]
20+
=== Syntax
21+
`char(x)`
22+
23+
24+
[float]
25+
=== Parameters
26+
`x`: a value of any type
27+
28+
[float]
29+
=== Returns
30+
`char`
31+
32+
--
33+
// OVERVIEW SECTION ENDS
34+
35+
36+
37+
38+
// HOW TO USE SECTION STARTS
39+
[#howtouse]
40+
--
41+
42+
[float]
43+
=== See also
44+
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
45+
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
46+
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
47+
[role="language"]
48+
* #LANGUAGE# link:char{ext-relative}[char]
49+
50+
51+
--
52+
// HOW TO USE SECTION ENDS
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
:source-highlighter: pygments
2+
:pygments-style: arduino
3+
:ext-relative: adoc
4+
5+
6+
= float()
7+
8+
9+
// OVERVIEW SECTION STARTS
10+
[#overview]
11+
--
12+
13+
[float]
14+
=== Description
15+
Converts a value to the link:float{ext-relative}[float] data type.
16+
[%hardbreaks]
17+
18+
19+
[float]
20+
=== Syntax
21+
`float(x)`
22+
23+
24+
[float]
25+
=== Parameters
26+
`x`: a value of any type
27+
28+
[float]
29+
=== Returns
30+
`float`
31+
32+
--
33+
// OVERVIEW SECTION ENDS
34+
35+
36+
37+
38+
// HOW TO USE SECTION STARTS
39+
[#howtouse]
40+
--
41+
[float]
42+
=== Notes and Warnings
43+
See the reference for link:float{ext-relative}[float] for details about the precision and limitations of floating point numbers on Arduino.
44+
[%hardbreaks]
45+
46+
[float]
47+
=== See also
48+
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
49+
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
50+
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
51+
52+
* #LANGUAGE# link:float{ext-relative}[float]
53+
54+
55+
--
56+
// HOW TO USE SECTION ENDS
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
:source-highlighter: pygments
2+
:pygments-style: arduino
3+
:ext-relative: adoc
4+
5+
6+
= int()
7+
8+
9+
// OVERVIEW SECTION STARTS
10+
[#overview]
11+
--
12+
13+
[float]
14+
=== Description
15+
Converts a value to the link:int{ext-relative}[int] data type.
16+
[%hardbreaks]
17+
18+
19+
[float]
20+
=== Syntax
21+
`int(x)`
22+
23+
24+
[float]
25+
=== Parameters
26+
`x`: a value of any type
27+
28+
[float]
29+
=== Returns
30+
`int`
31+
32+
--
33+
// OVERVIEW SECTION ENDS
34+
35+
36+
37+
38+
// HOW TO USE SECTION STARTS
39+
[#howtouse]
40+
--
41+
42+
[float]
43+
=== See also
44+
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
45+
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
46+
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
47+
[role="language"]
48+
* #LANGUAGE# link:int{ext-relative}[int]
49+
50+
51+
--
52+
// HOW TO USE SECTION ENDS
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
:source-highlighter: pygments
2+
:pygments-style: arduino
3+
:ext-relative: adoc
4+
5+
6+
= long()
7+
8+
9+
// OVERVIEW SECTION STARTS
10+
[#overview]
11+
--
12+
13+
[float]
14+
=== Description
15+
Converts a value to the link:long{ext-relative}[long] data type.
16+
[%hardbreaks]
17+
18+
19+
[float]
20+
=== Syntax
21+
`long(x)`
22+
23+
24+
[float]
25+
=== Parameters
26+
`x`: a value of any type
27+
28+
[float]
29+
=== Returns
30+
`long`
31+
32+
--
33+
// OVERVIEW SECTION ENDS
34+
35+
36+
37+
38+
// HOW TO USE SECTION STARTS
39+
[#howtouse]
40+
--
41+
42+
[float]
43+
=== See also
44+
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
45+
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
46+
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
47+
[role="language"]
48+
* #LANGUAGE# link:long{ext-relative}[long]
49+
50+
51+
--
52+
// HOW TO USE SECTION ENDS
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
:source-highlighter: pygments
2+
:pygments-style: arduino
3+
:ext-relative: adoc
4+
5+
6+
= word()
7+
8+
9+
// OVERVIEW SECTION STARTS
10+
[#overview]
11+
--
12+
13+
[float]
14+
=== Description
15+
Converts a value to the link:word{ext-relative}[word] data type.
16+
[%hardbreaks]
17+
18+
19+
[float]
20+
=== Syntax
21+
`word(x)` +
22+
`word(h, l)`
23+
24+
[float]
25+
=== Parameters
26+
`x`: a value of any type
27+
28+
`h`: the high-order (leftmost) byte of the word
29+
30+
`l`: the low-order (rightmost) byte of the word
31+
[float]
32+
=== Returns
33+
`word`
34+
35+
--
36+
// OVERVIEW SECTION ENDS
37+
38+
39+
40+
41+
// HOW TO USE SECTION STARTS
42+
[#howtouse]
43+
--
44+
45+
[float]
46+
=== See also
47+
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
48+
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
49+
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
50+
[role="language"]
51+
* #LANGUAGE# link:word{ext-relative}[word]
52+
53+
54+
--
55+
// HOW TO USE SECTION ENDS

0 commit comments

Comments
 (0)