You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Language/Variables/Data Types/unsignedLong.adoc
+5-5
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
13
13
[float]
14
14
=== Description
15
-
Unsigned long variables are extended size variables for number storage, and store 32 bits (4 bytes). Unlike standard longs unsigned longs won't store negative numbers, making their range from 0 to 4,294,967,295 (2^32 - 1).
15
+
Unsigned long variables are extended size variables for number storage, and store 32 bits (4 bytes). Unlike standard longs unsigned longs won't store negative numbers, making their range from 0 to 4,294,967,295 (2^32 - 1).
16
16
[%hardbreaks]
17
17
18
18
[float]
@@ -21,7 +21,7 @@ Unsigned long variables are extended size variables for number storage, and stor
21
21
`unsigned long var = val;`
22
22
23
23
`var` - your long variable name
24
-
`val` - the value you assign to that variable
24
+
`val` - the value you assign to that variable
25
25
[%hardbreaks]
26
26
27
27
--
@@ -62,16 +62,16 @@ void loop()
62
62
63
63
[float]
64
64
=== See also
65
-
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
65
+
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
66
66
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
67
67
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
Note that because PROGMEM is a variable modifier, there is no hard and fast rule about where it should go, so the Arduino compiler accepts all of the definitions below, which are also synonymous. However experiments have indicated that, in various versions of Arduino (having to do with GCC version), PROGMEM may work in one location and not in another. The "string table" example below has been tested to work with Arduino 13. Earlier versions of the IDE may work better if PROGMEM is included after the variable name.
32
+
Note that because PROGMEM is a variable modifier, there is no hard and fast rule about where it should go, so the Arduino compiler accepts all of the definitions below, which are also synonymous. However experiments have indicated that, in various versions of Arduino (having to do with GCC version), PROGMEM may work in one location and not in another. The "string table" example below has been tested to work with Arduino 13. Earlier versions of the IDE may work better if PROGMEM is included after the variable name.
33
33
34
34
`const dataType variableName[] PROGMEM = {}; // use this form` +
35
35
`const PROGMEM dataType variableName[] = {}; // or this one`+
@@ -179,7 +179,7 @@ void loop()
179
179
* #EXAMPLE# http://www.arduino.cc/playground/Learning/Memory[Types of memory available on an Arduino board]
0 commit comments