Skip to content

Commit d9b3a86

Browse files
author
Federico Fissore
committed
Serial plotter: added comment to AnalogReadSerial. Fixes #3451
1 parent 5e98cd8 commit d9b3a86

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

Diff for: build/shared/examples/01.Basics/AnalogReadSerial/AnalogReadSerial.ino

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
/*
22
AnalogReadSerial
33
Reads an analog input on pin 0, prints the result to the serial monitor.
4+
Graphical representation of readings available using serial plotter (Tools > Serial Plotter menu)
45
Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground.
56
6-
This example code is in the public domain.
7-
*/
7+
This example code is in the public domain.
8+
*/
89

910
// the setup routine runs once when you press reset:
1011
void setup() {

Diff for: examples_formatter.conf

+12-11
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,17 @@ pad-header
2929
keep-one-line-statements
3030

3131
style=java
32-
xn
33-
xc
34-
xl
35-
xk
32+
attach-namespaces
33+
attach-classes
34+
attach-inlines
35+
attach-extern-c
3636
indent-modifiers
37-
N
38-
L
39-
xW
40-
w
41-
xw
42-
U
43-
j
37+
indent-namespaces
38+
indent-labels
39+
indent-preproc-block
40+
indent-preproc-define
41+
indent-preproc-cond
42+
unpad-paren
43+
add-brackets
44+
remove-comment-prefix
4445

0 commit comments

Comments
 (0)