Cypress CapSense CY8C20x36 Guide de l'utilisateur Page 25

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 75
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 74 75

Commentaires sur ces manuels

Pas de commentaire