MCC Melody Example Components: Adding PWM to ADC Data Streamer | Videos
MCC Melody Example Components: Adding PWM to ADC Data Streamer
Solution project for this video on GitHub: https://github.com/microchip-pic-avr-examples/pic18f57q43-adcc-data-streamer-pwm-callbacks-mcc
Getting Started with MCC Melody Example Components playlist: https://youtube.com/playlist?list=PLtQdQmNK_0DTA08RmyuJH4dyNrYGDGi0l&si=DQVUJ2VHDPELnRbq
The ADC Data Streamer example, of the MCC Melody ADCC Example Component, is used in the Callbacks implementation and displays ADCC samples visualized with the Data Streamer. An Analog-to-Digital Conversion measurement is taken every 100 ms on the selected analog channel, also toggling an LED and Debug GPIO.
A PWM1_16BIT component is added to this example. For more information, check out the "PIC® PWM Use Case: Gradually Brightening LED" use case from the How to Use the PWMx_16BIT PLIB Driver section in MCC Melody API reference for PIC16F/18F. It shows how adjusting the potentiometer influences the brightness of the PWM, which is mapped to a % of the range of the ADC value.
So, as the pot meter is adjusted, the brightness of the PWM is adjusted, mapped to a % of the range of the ADC value.
Solution project for this video on GitHub: https://github.com/microchip-pic-avr-examples/pic18f57q43-adcc-data-streamer-pwm-callbacks-mcc
To view this video, please click manage cookies below and accept functional cookies.
{"SalesForceSecurePath":"https://microchip.my.salesforce-scrt.com","EmbeddedServiceName":"Messaging_For_Microchip","SalesForcePath":"https://microchip.my.site.com/ESWMessagingForMicrochi1755319480924","AgentAvailableHeader":"No problem. Chat with our engineering experts or schedule a call that's convenient for you.","ScheduleCallUrl":"https://microchip.my.site.com/schedulemeetingportal/s/","SalesforceOrgId":"00Do0000000KAkK","JsUrl":"https://microchip.my.site.com/ESWMessagingForMicrochi1755319480924/assets/js/bootstrap.min.js"}