Cypress CapSense CY8C20x36 Guía de usuario Pagina 25

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 75
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 24
Getting Started with CapSense
®
Document No. 001-64846 Rev. *I 25
Figure 2-21. LED Sourcing and Sinking Configuration
CapSense Controller
VDD
CapSense
button
R
CapSense Controller
CapSense
button
R
LED
LED
V
src
V
snk
V
src
t
VDD
ON OFF ON
V
snk
t
VDD
ON OFF ON
OFF
OFF
LED in Sourcing Mode
LED in Sinking mode
2.7.1.1.2 Advanced LED Effects
For user interfaces that require sophisticated visual effects, a single hardware PWM or timer can be used to drive the
LEDs. By varying the duty cycle of the PWM output, you can achieve advanced effects, such as variable LED
brightness, fading, and breathing. A single hardware PWM or timer can be used to drive multiple LEDs.
2.7.1.1.3 LED Brightness
By varying the duty cycle of the PWM output, you can adjust the LED brightness as shown in Figure 2-22. This
enables adjusting your user interface brightness in response to ambient lighting conditions.
Figure 2-22. LED Brightness Control
Vista de pagina 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 74 75

Comentarios a estos manuales

Sin comentarios