aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/arduino/break.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/arduino/break.rst')
-rw-r--r--docs/source/arduino/break.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/source/arduino/break.rst b/docs/source/arduino/break.rst
index 8c0478a..3e1e9ee 100644
--- a/docs/source/arduino/break.rst
+++ b/docs/source/arduino/break.rst
@@ -19,17 +19,17 @@ Example
for (x = 0; x < 255; x ++)
{
digitalWrite(PWMpin, x);
- sens = analogRead(sensorPin);
+ sens = analogRead(sensorPin);
if (sens > threshold){ // bail out on sensor detect
x = 0;
// this line of code means that we'll immediately exit
// from the "for" loop:
break;
- }
+ }
delay(50);
}
-
-.. include:: cc-attribution.txt \ No newline at end of file
+
+.. include:: cc-attribution.txt