From ada012bb274df21ebd7ef27d4c91815f1acf4ea6 Mon Sep 17 00:00:00 2001 From: pitikankan <105980102+pitikankan@users.noreply.github.com> Date: Sat, 21 May 2022 17:00:51 +0200 Subject: [PATCH] Update getting-started-arduino.md --- .../00.getting-started-arduino/getting-started-arduino.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/learn/01.starting-guide/00.getting-started-arduino/getting-started-arduino.md b/content/learn/01.starting-guide/00.getting-started-arduino/getting-started-arduino.md index 519363ad5c..1e4450bc7d 100644 --- a/content/learn/01.starting-guide/00.getting-started-arduino/getting-started-arduino.md +++ b/content/learn/01.starting-guide/00.getting-started-arduino/getting-started-arduino.md @@ -552,7 +552,7 @@ void loop(){ } void thisFunction() { - x = x++; //increase x by 1 each time function is run. + x++; //increase x by 1 each time function is run. } ``` @@ -844,8 +844,8 @@ Here are some examples: x = 5; y = 2; -xx++; //increase by one, so x is now 6 -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 x += y; //x is now 7 (add and assign) x -= y; //x is now 3 (subtract and assign)