Skip to content

Commit deb38ea

Browse files
authored
Small change in the example code description
1 parent 47c14dc commit deb38ea

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Language/Variables/Data Types/int.adoc

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ categories: [ "Variables" ]
44
subCategories: [ "Data Types" ]
55
---
66

7-
8-
9-
10-
117
= int
128

139

@@ -48,11 +44,11 @@ The Arduino takes care of dealing with negative numbers for you, so that arithme
4844
[float]
4945
=== Example Code
5046
// Describe what the example code is all about and add relevant code ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
51-
This code creates an integer called 'countUp', which is initially set as the number 0 (zero). The variable goes up by 1 (one) each loop and displayed on the serial monitor.
47+
This code creates an integer called 'countUp', which is initially set as the number 0 (zero). The variable goes up by 1 (one) each loop, being displayed on the serial monitor.
5248

5349
[source,arduino]
5450
----
55-
int countUp = 0; //creates a variable integer called 'countUp'
51+
int countUp = 0; //creates a variable integer called 'countUp'
5652
5753
void setup() {
5854
Serial.begin(9600); // use the serial port to print the number

0 commit comments

Comments
 (0)