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-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
</picture>
7
7
</a>
8
8
9
-
## Video Building this Example
9
+
## Video Building This Example
10
10
11
11
[](https://youtu.be/yPfu0OuIhqY)
12
12
@@ -16,28 +16,28 @@
16
16
# MCC Melody Timer Toggle LED Example - Callbacks Implementation (PIC18F57Q43)
17
17
18
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
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.
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.
20
20
21
21
## MCC Melody Example Components
22
-
Example Components are a tight integration of learning material directly into MCC. This allows users to conveniently place configuration instructions side-by-side to the components they are configuring. For more information, refer to the [MCC Melody Example Components Introduction](https://onlinedocs.microchip.com/v2/keyword-lookup?keyword=MCC.MELODY.EXAMPLES&version=latest&redirect=true).
22
+
Example Components are tightly integrated learning material directly into MCC. This allows users to conveniently place configuration instructions side-by-side with the components they are configuring. For more information, refer to the [MCC Melody Example Components Introduction](https://onlinedocs.microchip.com/v2/keyword-lookup?keyword=MCC.MELODY.EXAMPLES&version=latest&redirect=true).
23
23
24
24
25
25

26
26
27
27
28
-
Complete projects, available in [MPLAB® Discover](https://mplab-discover.microchip.com) or GitHub, are specific to a board and microcontroller. However, the current project could be recreated on a range of supported microcontrollers by following the steps in the example component.
28
+
Complete projects specific to a board and microcontroller are available in [MPLAB® Discover](https://mplab-discover.microchip.com) or GitHub. However, the current project could be recreated on a range of supported microcontrollers by following the steps in the example component.
29
29
30
-
To explore what an example component is, as well as the difference between example and implementation, see [MCC Melody Example Components - The Basics](https://onlinedocs.microchip.com/v2/keyword-lookup?keyword=MCC.MELODY.EXAMPLES.BASICS&version=latest&redirect=true).
30
+
For more information on example components and differences between example and implementation, see [MCC Melody Example Components - The Basics](https://onlinedocs.microchip.com/v2/keyword-lookup?keyword=MCC.MELODY.EXAMPLES.BASICS&version=latest&redirect=true).
31
31
32
-
Example Components are related to [MCC Melody Design Patterns for Control Flow](https://onlinedocs.microchip.com/g/GUID-7CE1AEE9-2487-4E7B-B26B-93A577BA154E), which shows different standard ways to organize main.c and other application-level files, such as Polling, Interrupt and Callback, or State Machine Design Patterns. Users mights be familiar with each of these patterns, but...
32
+
Example Components are related to [MCC Melody Design Patterns for Control Flow](https://onlinedocs.microchip.com/g/GUID-7CE1AEE9-2487-4E7B-B26B-93A577BA154E), which shows different standard ways to organize `main.c` and other application-level files, such as Polling, Interrupt and Callback, or State Machine Design Patterns. Users might be familiar with each of these patterns, but:
33
33
- What support does MCC Melody provide for each?
34
34
- What are the recommended ways of building on the MCC Melody generated code?
35
35
36
36
## Software Used
37
37
- MPLAB® X IDE 6.20.0 or newer [(MPLAB® X IDE 6.20)](https://www.microchip.com/en-us/development-tools-tools-and-software/mplab-x-ide)
38
38
- MPLAB® XC8 2.46.0 or newer [(MPLAB® XC8 2.46)](https://www.microchip.com/en-us/tools-resources/develop/mplab-xc-compilers/xc8)
39
39
40
-
- MCC Plugin Version 5.5.1 or newer (Tools > Plugins > Installed, search: "MCC")
40
+
- MCC Plug-in Version 5.5.1 or newer (Tools > Plugins > Installed, search: "MCC")
41
41
- Timer Example Component 1.0.0 or newer
42
42
- MCC Core 5.7.1 or newer
43
43
- MCC Melody Core 2.7.1 or newer (Communicates with the MCC core, providing views and other functionality for MCC Melody)
@@ -48,16 +48,16 @@ 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) - Not used in this example, but used futher in the series.
51
+
- Curiosity Nano Explorer [(EV58G97A)](https://www.microchip.com/en-us/development-tool/EV58G97A) - Not used in this example, but used further in the series.
52
52
53
53
## Setup
54
54
55
-
All instructions required to recreate this example are listed below, under Configuration Instructions.
55
+
All instructions required to recreate this example are listed below under Configuration Instructions.
Once you have loaded the project in MPLAB X IDE, you will also be able to find more information from Tooltips and links next to the instructions
60
-
[](https://onlinedocs.microchip.com/v2/keyword-lookup?keyword=MCC.MELODY.CONFIGHELP.TIMER.PERIOD&version=latest&redirect=true).
60
+
[](https://onlinedocs.microchip.com/v2/keyword-lookup?keyword=MCC.MELODY.CONFIGHELP.TIMER.PERIOD&version=latest&redirect=true).
61
61
62
62
63
63

@@ -66,7 +66,7 @@ Once you have loaded the project in MPLAB X IDE, you will also be able to find m
66
66
## Operation
67
67
68
68
The image below shows 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
69
-
) running. The period of 100 ms is verified using Debug GPIO on the MPLAB Data Visualizer. A PIC18F57Q43 Curiosity Nano is used.
69
+
) running. The period of 100 ms is verified using Debug GPIO on the MPLAB® Data Visualizer. A PIC18F57Q43 Curiosity Nano is used.
70
70
71
71
**Note:** Achieve the same functionality by adding the Timer Example component to a new or existing MCC Melody project, for one of the supported microcontrollers.
72
72
@@ -77,12 +77,12 @@ Two vertical cursors are added to verify the timer frequency. See the configurat
77
77
78
78
1) Click the  icon to open the MPLAB Data Visualizer.
79
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.
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