The demo application consists of following two components:
- The Atmel QTouch Library.
- The demo code which controls the
duty cycle of timer based software PWM.
The QTouch Library is used by the Demo application to sense capacitive touch slider
position using built-in hardware capacitive touch sense module (PTC), the application
uses this slider position to vary the duty cycle of the software PWM, which controls the
brightness of the USER LED connected to PORT PB5. For more details, refer section
Software PWM.
Figure 1. Application Block
Diagram