MCC Melody Use Case Data Visualizer Run Time Use Case 1 | Videos
MCC Melody Use Case Data Visualizer Run Time Use Case 1
Click on the link below to choose the API reference for MCC Melody DV Run Time Library: https://onlinedocs.microchip.com/v2/keyword-lookup?keyword=DV-RUN-TIME-LIBRARY&version=latest&redirect=true
This video covers How to Use the MCC Melody DV Run Time Library. A LED is toggled after LED_period_ms (period of LED toggling in ms). LED_ON holds the state of the LED pin, meaning that when it is set on 0, an active low LED is on, and vice versa. Every 1 ms: DVRT_process( ) is called via a flag (msTick) set in the timer callback. Count_msTicksSinceToggle is incremented up to toggle_ms, when LED_ON is toggled Count_dvrtProcessCalls is incremented before calling the DVRT_process( )