File tree 2 files changed +15
-13
lines changed
build/shared/examples/01.Basics/AnalogReadSerial
2 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
2
AnalogReadSerial
3
3
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)
4
5
Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground.
5
6
6
- This example code is in the public domain.
7
- */
7
+ This example code is in the public domain.
8
+ */
8
9
9
10
// the setup routine runs once when you press reset:
10
11
void setup () {
Original file line number Diff line number Diff line change @@ -29,16 +29,17 @@ pad-header
29
29
keep-one-line-statements
30
30
31
31
style=java
32
- xn
33
- xc
34
- xl
35
- xk
32
+ attach-namespaces
33
+ attach-classes
34
+ attach-inlines
35
+ attach-extern-c
36
36
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
44
45
You can’t perform that action at this time.
0 commit comments