1 Intro
2
Electrocardiogram (
Ecg
) Signals
The Electrocardiogram (
Ecg
)
•
Ecg
: electrical manifestation of heart activity recorded
from the body surface
•
monitoring of heart rate
The
Ecg
signal can be recorded fairly easily with surface
electrodes placed on the limbs and/or the chest, see pages
6
–
16
below.
Josef Goette
2
2009
4 Peripherals
4.9 Pulse Width Modulation (PWM)
b
pwm1
F
Lets PB8 blink with 1Hz 50% duty-cycle and PB9 with 25% using the PWM function of
the timer TIM4.
b
pwm2
F
LEDs PB8, PB9 are dimmed using the PWM function of TIM4 channel3 and channel4
4.9.1 Configuration
The timer TIM4 is used for the PWM signal. The channel 3 is mapped by default to PB8 and
channel 4 to PB9.
Figure 4.10:
PWM Configuration Wizard
34
STM32 Cortex-M3 Tutorial