Skip to content

Commit 499c424

Browse files
per1234cmaglie
authored andcommitted
Use Auto Format compatible bullet character in built-in example comment lists
Tools > Auto Format in the Arduino IDE removes asterisks from the start of every line in a C style comment, causing that character to be unsuitable for use as a bullet for lists in the example comments.
1 parent 827a933 commit 499c424

File tree

41 files changed

+94
-94
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+94
-94
lines changed

build/shared/examples/02.Digital/BlinkWithoutDelay/BlinkWithoutDelay.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
can run at the same time without being interrupted by the LED code.
66
77
The circuit:
8-
* Use the onboard LED.
9-
* Note: Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO
8+
- Use the onboard LED.
9+
- Note: Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO
1010
it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to
1111
the correct LED pin independent of which board is used.
1212
If you want to know what pin the on-board LED is connected to on your Arduino model, check

build/shared/examples/02.Digital/Button/Button.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
77
88
The circuit:
9-
* LED attached from pin 13 to ground
10-
* pushbutton attached to pin 2 from +5V
11-
* 10K resistor attached to pin 2 from ground
9+
- LED attached from pin 13 to ground
10+
- pushbutton attached to pin 2 from +5V
11+
- 10K resistor attached to pin 2 from ground
1212
13-
* Note: on most Arduinos there is already an LED on the board
13+
- Note: on most Arduinos there is already an LED on the board
1414
attached to pin 13.
1515
1616

build/shared/examples/02.Digital/Debounce/Debounce.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
noise).
88
99
The circuit:
10-
* LED attached from pin 13 to ground
11-
* pushbutton attached from pin 2 to +5V
12-
* 10K resistor attached from pin 2 to ground
10+
- LED attached from pin 13 to ground
11+
- pushbutton attached from pin 2 to +5V
12+
- 10K resistor attached from pin 2 to ground
1313
14-
* Note: On most Arduino boards, there is already an LED on the board
14+
- Note: On most Arduino boards, there is already an LED on the board
1515
connected to pin 13, so you don't need any extra components for this example.
1616
1717

build/shared/examples/02.Digital/DigitalInputPullup/DigitalInputPullup.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
digital input on pin 2 and prints the results to the Serial Monitor.
66
77
The circuit:
8-
* Momentary switch attached from pin 2 to ground
9-
* Built-in LED on pin 13
8+
- Momentary switch attached from pin 2 to ground
9+
- Built-in LED on pin 13
1010
1111
Unlike pinMode(INPUT), there is no pull-down resistor necessary. An internal
1212
20K-ohm resistor is pulled to 5V. This configuration causes the input to

build/shared/examples/02.Digital/StateChangeDetection/StateChangeDetection.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
and on to off.
1111
1212
The circuit:
13-
* pushbutton attached to pin 2 from +5V
14-
* 10K resistor attached to pin 2 from ground
15-
* LED attached from pin 13 to ground (or use the built-in LED on
13+
- pushbutton attached to pin 2 from +5V
14+
- 10K resistor attached to pin 2 from ground
15+
- LED attached from pin 13 to ground (or use the built-in LED on
1616
most Arduino boards)
1717
1818
created 27 Sep 2005

build/shared/examples/02.Digital/toneKeyboard/toneKeyboard.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
Plays a pitch that changes based on a changing analog input
55
66
circuit:
7-
* 3 force-sensing resistors from +5V to analog in 0 through 5
8-
* 3 10K resistors from analog in 0 through 5 to ground
9-
* 8-ohm speaker on digital pin 8
7+
- 3 force-sensing resistors from +5V to analog in 0 through 5
8+
- 3 10K resistors from analog in 0 through 5 to ground
9+
- 8-ohm speaker on digital pin 8
1010
1111
created 21 Jan 2010
1212
modified 9 Apr 2012

build/shared/examples/02.Digital/toneMelody/toneMelody.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Plays a melody
55
66
circuit:
7-
* 8-ohm speaker on digital pin 8
7+
- 8-ohm speaker on digital pin 8
88
99
created 21 Jan 2010
1010
modified 30 Aug 2011

build/shared/examples/02.Digital/toneMultiple/toneMultiple.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Plays multiple tones on multiple pins in sequence
55
66
circuit:
7-
* 3 8-ohm speaker on digital pins 6, 7, and 8
7+
- 3 8-ohm speaker on digital pins 6, 7, and 8
88
99
created 8 March 2010
1010
by Tom Igoe

build/shared/examples/02.Digital/tonePitchFollower/tonePitchFollower.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
Plays a pitch that changes based on a changing analog input
55
66
circuit:
7-
* 8-ohm speaker on digital pin 9
8-
* photoresistor on analog 0 to 5V
9-
* 4.7K resistor on analog 0 to ground
7+
- 8-ohm speaker on digital pin 9
8+
- photoresistor on analog 0 to 5V
9+
- 4.7K resistor on analog 0 to ground
1010
1111
created 21 Jan 2010
1212
modified 31 May 2012

build/shared/examples/03.Analog/AnalogInOutSerial/AnalogInOutSerial.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
Also prints the results to the Serial Monitor.
77
88
The circuit:
9-
* potentiometer connected to analog pin 0.
9+
- potentiometer connected to analog pin 0.
1010
Center pin of the potentiometer goes to the analog pin.
1111
side pins of the potentiometer go to +5V and ground
12-
* LED connected from digital pin 9 to ground
12+
- LED connected from digital pin 9 to ground
1313
1414
created 29 Dec. 2008
1515
modified 9 Apr 2012

0 commit comments

Comments
 (0)