Skip to content

Commit 527a13f

Browse files
authored
Merge pull request #253 from pitikankan/patch-2
Update getting-started-arduino.md
2 parents be87c34 + ada012b commit 527a13f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/learn/01.starting-guide/00.getting-started-arduino/getting-started-arduino.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ void loop(){
552552
}
553553
554554
void thisFunction() {
555-
x = x++; //increase x by 1 each time function is run.
555+
x++; //increase x by 1 each time function is run.
556556
}
557557
```
558558

@@ -844,8 +844,8 @@ Here are some examples:
844844
x = 5;
845845
y = 2;
846846
847-
xx++; //increase by one, so x is now 6
848-
xx--; //decrease by one, so x is now 4
847+
x++; //increase by one, so x is now 6
848+
x--; //decrease by one, so x is now 4
849849
850850
x += y; //x is now 7 (add and assign)
851851
x -= y; //x is now 3 (subtract and assign)

0 commit comments

Comments
 (0)