1.. zephyr:code-sample:: twinkie_v2_pda 2 :name: Power Delivery Analyzer 3 :relevant-api: adc_interface 4 5 Implement a basic Power Delivery Analyzer to determine if a USB device is currently charging. 6 7Overview 8******** 9 10This provides access to :zephyr:board:`google_twinkie_v2` so you can try out 11the supported features. 12 13Building and Running 14******************** 15 16Build and flash Twinkie as follows: 17 18.. zephyr-app-commands:: 19 :zephyr-app: samples/boards/google/twinkie_v2/pda 20 :board: google_twinkie_v2 21 :goals: build flash 22 :compact: 23 24After flashing, the LED will start red. Putting the Twinkie in between any 25usbc connection will cause the LED to turn blue. The LED will turn green instead 26if the device is currently charging. 27