We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents be87c34 + ada012b commit 527a13fCopy full SHA for 527a13f
content/learn/01.starting-guide/00.getting-started-arduino/getting-started-arduino.md
@@ -552,7 +552,7 @@ void loop(){
552
}
553
554
void thisFunction() {
555
- x = x++; //increase x by 1 each time function is run.
+ x++; //increase x by 1 each time function is run.
556
557
```
558
@@ -844,8 +844,8 @@ Here are some examples:
844
x = 5;
845
y = 2;
846
847
-xx++; //increase by one, so x is now 6
848
-xx--; //decrease by one, so x is now 4
+x++; //increase by one, so x is now 6
+x--; //decrease by one, so x is now 4
849
850
x += y; //x is now 7 (add and assign)
851
x -= y; //x is now 3 (subtract and assign)
0 commit comments