Skip to content

Commit d54c4f6

Browse files
committed
MPAE-18170 Added video link and updated readme to match polled version
1 parent 72fc7f2 commit d54c4f6

11 files changed

+24
-4
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@
66
</picture>
77
</a>
88

9-
# MCC Melody Timer Toggle LED Example, Callbacks Implementation (PIC18F57Q43)
9+
## Video Building this Example
10+
11+
[![Video Building this Example](images/Video-TimerToggleLED-Callbacks.png "Change the values of these settings until the needed Requested Period is between the indicated min., max values.")](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)
1017

1118
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
1219
), 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](
4148
## Hardware Used
4249

4350
- PIC18F57Q43 Curiosity Nano [(DM164150)](https://www.microchip.com/en-us/development-tool/DM164150)
44-
- 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.
4552

4653
## Setup
4754

@@ -67,6 +74,11 @@ The image below shows the [TIMER Toggle LED example](https://onlinedocs.microchi
6774

6875

6976
Two vertical cursors are added to verify the timer frequency. See the configuration instructions below.
77+
78+
1) Click the ![Data Visualizer icon](images/Icon-MPLAB-DataVisualizer_1cm.png) icon to open the MPLAB Data Visualizer.
79+
2) Under Debug GPIO, click the ![Add to time plot icon](images/Icon-DataVisualizer_TimePlot.png "Display as raw data on time plot.") icon, to add to the time plot.
80+
3) Click the ![Data Visualizer Zoom in icon](images/Icon-DataVisualizer_ZoomIn.png) icon, a few times, to zoom in on the Time Plot.
81+
4) Click the ![Data Visualizer Vertical Cursor icon](images/Icon-DataVisualizer_VerticalCursor.png) 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.
7082

7183
![DataVisualizer config Timer Toggle LED](images/DataVisualizerConfigTimerToggle_LED_15cm.png)
7284

448 Bytes
Loading
562 Bytes
Loading
707 Bytes
Loading
3.96 KB
Loading

images/MCCMelody_CoreVersion.png

4.07 KB
Loading

images/MCC_Core_version.png

-23 Bytes
Loading

images/MCC_Melody_Core_Version.png

0 Bytes
Loading
729 KB
Loading

pic18f57q43-timer-toggle-led-callbacks-mcc.X/mcc-manifest-autosave.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
manifest_file_version: 1.0.0
44
project: pic18f57q43-timer-toggle-led-callbacks-mcc
5-
creation_date: 2024-07-31T10:52:32.360+02:00[Europe/Paris]
5+
creation_date: 2024-08-01T09:44:51.466+02:00[Europe/Paris]
66
operating_system: Windows 10
77
mcc_mode: IDE
88
mcc_mode_version: v6.20
@@ -17,6 +17,7 @@ mcc_content_registries: https://registry.npmjs.org/
1717
device_library: {library_class: com.microchip.mcc.melody.Library, name: Melody, version: 2.7.1}
1818
packs: {name: PIC18F-Q_DFP, version: 1.25.433}
1919
modules:
20+
- {name: '@mchp-mcc/example-pic-adcc', type: MELODY, version: 1.0.0}
2021
- {name: '@mchp-mcc/example-pic-timer', type: MELODY, version: 1.0.0}
2122
- {name: '@mchp-mcc/main-manager', type: MELODY, version: 3.1.2}
2223
- {name: '@mchp-mcc/pic-8bit', type: MELODY, version: 5.28.2}

0 commit comments

Comments
 (0)