This code example demonstrates USB Type-C attach detection and USB Power Delivery contract negotiation using EZ-PD™ PMG1 MCU devices. The code example also features a 5-segment CAPSENSE™ slider and two CAPSENSE™ buttons. Each CAPSENSE™ sensor toggles an LED based on the touch input from the user. -
View it on GitHub