You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,14 @@
6
6
</picture>
7
7
</a>
8
8
9
-
# MCC Melody Timer Toggle LED Example, Callbacks Implementation (PIC18F57Q43)
9
+
## Video Building this Example
10
+
11
+
[](https://youtu.be/yPfu0OuIhqY)
12
+
13
+
**Video:**[Introducing MCC Melody Example Components](https://youtu.be/zK5jLiIIYvE)
14
+
(while building the Polled version of this example).
15
+
16
+
# MCC Melody Timer Toggle LED Example - Callbacks Implementation (PIC18F57Q43)
10
17
11
18
The [TIMER Toggle LED example](https://onlinedocs.microchip.com/v2/keyword-lookup?keyword=MCC.MELODY.EXAMPLES.RUNNING.TIMER.PIC16F18F.TOGGLE.LED&version=latest&redirect=true
12
19
), of the MCC Melody Timer Example Component, is used in the **Callbacks implementation**. The LED on the PIC18F57Q43 Curiosity Nano is toggled, as well as a Debug I/O, which can be used to verify the 100 ms period.
@@ -41,7 +48,7 @@ Example Components are related to [MCC Melody Design Patterns for Control Flow](
- Curiosity Nano Explorer [(EV58G97A)](https://www.microchip.com/en-us/development-tool/EV58G97A)
51
+
- Curiosity Nano Explorer [(EV58G97A)](https://www.microchip.com/en-us/development-tool/EV58G97A) - Not used in this example, but used futher in the series.
45
52
46
53
## Setup
47
54
@@ -67,6 +74,11 @@ The image below shows the [TIMER Toggle LED example](https://onlinedocs.microchi
67
74
68
75
69
76
Two vertical cursors are added to verify the timer frequency. See the configuration instructions below.
77
+
78
+
1) Click the  icon to open the MPLAB Data Visualizer.
79
+
2) Under Debug GPIO, click the  icon, to add to the time plot.
80
+
3) Click the  icon, a few times, to zoom in on the Time Plot.
81
+
4) Click the  icon, a couple of times, to add two vertical cursors. Change the cursor positions by dragging them using the mouse, to measure the timer period.
0 commit comments