Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ad6f86a

Browse files
authored
Merge pull request #2288 from per1234/fix-stray-errors
Replace non-breaking space characters in code snippets
2 parents 09957e4 + 6714906 commit ad6f86a

File tree

2 files changed

+144
-144
lines changed
  • content
    • hardware/04.pro/boards/portenta-h7/tutorials/dual-core-processing
    • learn/05.communication/06.one-wire

2 files changed

+144
-144
lines changed

‎content/hardware/04.pro/boards/portenta-h7/tutorials/dual-core-processing/content.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ The following sketch blinks the red LED at an interval of 200ms controlled by th
6464
```cpp
6565
// the setup function runs once when you press reset or power the board
6666
void setup() {
67-
// initialize digital pin LEDR as an output.
67+
// initialize digital pin LEDR as an output.
6868
pinMode(LEDR, OUTPUT);
6969
}
7070

7171
// the loop function runs over and over again forever
7272
void loop() {
7373
digitalWrite(LEDR, LOW); // turn the red LED on (LOW is the voltage level)
7474
delay(200); // wait for 200 milliseconds
75-
digitalWrite(LEDR, HIGH);// turn the LED off by making the voltage HIGH
75+
digitalWrite(LEDR, HIGH);// turn the LED off by making the voltage HIGH
7676
delay(200); // wait for 200 milliseconds
7777
}
7878
```
@@ -88,15 +88,15 @@ Let's write another sketch that makes the RGB LED on the board blink green. Open
8888
```cpp
8989
// the setup function runs once when you press reset or power the board
9090
void setup() {
91-
// initialize digital pin LEDG as an output.
91+
// initialize digital pin LEDG as an output.
9292
pinMode(LEDG, OUTPUT);
9393
}
9494

9595
// the loop function runs over and over again forever
9696
void loop() {
9797
digitalWrite(LEDG, LOW); // turn the LED on (LOW is the voltage level)
9898
delay(500); // wait for half a second
99-
digitalWrite(LEDG, HIGH);// turn the LED off by making the voltage HIGH
99+
digitalWrite(LEDG, HIGH);// turn the LED off by making the voltage HIGH
100100
delay(500); // wait for half a second
101101
}
102102
```
@@ -113,7 +113,7 @@ Before you can upload the code for the M4 core to the Flash memory you need to a
113113
```cpp
114114
// the setup function runs once when you press reset or power the board
115115
void setup() {
116-
// initialize digital pin LED_BUILTIN as an output.
116+
// initialize digital pin LED_BUILTIN as an output.
117117
bootM4();
118118
pinMode(LEDR, OUTPUT);
119119
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /