Skip to content

Commit 3667312

Browse files
committed
HardwareTimer: NonReg: Fix spelling
Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
1 parent cd5c82c commit 3667312

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/NonReg/HardwareTimer/HardwareTimer_OutputInput_test/HardwareTimer_OutputInput_test.ino

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
Designed to work on Nucleo_L476RG
99
TIM1 ch1N and ch2 are used for output generation (TIM1_CH1N_PIN, and TIM1_CH2_PIN).
1010
It is important that both channel are on the same timer, in order to check influence on channel dependant API.
11-
Management of interruption is done with variable incrementation.
12-
TIM8 ch1/ch2 are used to measure frequence and duty cycle of TIM1_CH1N output generated signal
13-
TIM8 ch3/ch4 are used to measure frequence and duty cycle of TIM1_CH2 output generated signal
11+
Management of interruption is done with variable increment.
12+
TIM8 ch1/ch2 are used to measure frequency and duty cycle of TIM1_CH1N output generated signal
13+
TIM8 ch3/ch4 are used to measure frequency and duty cycle of TIM1_CH2 output generated signal
1414
1515
Regular channel and complementary channel (TIM1_CH1N) are tested.
1616
@@ -61,7 +61,7 @@
6161
#define OUTPUT_DUTY1 20 // percentage
6262
#define OUTPUT_DUTY2 30 // percentage
6363

64-
#define TEMPO_BEFORE_MEASUREMENT 500 // milisecondes
64+
#define TEMPO_BEFORE_MEASUREMENT 500 // millisecondes
6565
#define TOLERANCE 10 // Percentage
6666
#define EXPECTED_INTERRUPT_COUNT ((TEMPO_BEFORE_MEASUREMENT * OUTPUT_FREQUENCY) / 1000)
6767

@@ -594,4 +594,4 @@ void loop()
594594
while (1)
595595
{
596596
};
597-
}
597+
}

0 commit comments

Comments
 (0)