Skip to content

Commit e48571e

Browse files
committed
MPAE-19451 image links and version 1.0.1
1 parent b7f8e31 commit e48571e

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.main-meta/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"content": {
55
"metaDataVersion": "1.3.0",
66
"name": "com.microchip.mcu8.mplabx.project.avr128db48-i2c-proximity-sensor-callbacks-data-streamer",
7-
"version": "1.0.0",
7+
"version": "1.0.1",
88
"displayName": "avr128db48-i2c-proximity-sensor-callbacks-data-streamer",
99
"projectName": "avr128db48-i2c-proximity-sensor-callbacks-data-streamer",
1010
"shortDescription": "Reads proximity sensor value. With Data Streamer output, sends values to MPLAB Data Visualizer via protocol every 100 ms. Uses Timer driver callbacks for sampling frequency.",

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,24 @@
88
</picture>
99
</a>
1010

11-
# AVR128DB48 I<sup>2</sup>C_Host Example Component for CNano Explorer: I<sup>2</sup>C Proximity Sensor (Callbacks, Data Streamer)
11+
# AVR128DB48 I2C_Host Example Component for CNano Explorer: I<sup>2</sup>C Proximity Sensor (Callbacks, Data Streamer)
1212

1313
The [I<sup>2</sup>C Proximity Sensor example](https://onlinedocs.microchip.com/v2/keyword-lookup?keyword=I2C.HOST.EX.RUNNING.I2C.HOST.PROXIMITY.SENSOR&version=latest&redirect=true "I2C Proximity Sensor example"
1414
), of the [MCC Melody I<sup>2</sup>C Example Component (for the Curiosity Nano Explorer)](https://onlinedocs.microchip.com/v2/keyword-lookup?keyword=I2C.HOST.EXAMPLE.COMPONENT&version=latest&redirect=true "MCC Melody I<sup>2</sup>C Example Component for the Curiosity Nano Explorer"
1515
), is used here in the Polled implementation with the Data Streamer visualization.
1616

17-
![alt text](images\avr128db48-i2c-proximity-sensor-callbacks-dataStreamer_avrDB_intro.png)
17+
![alt text](images/avr128db48-i2c-proximity-sensor-callbacks-dataStreamer_avrDB_intro.png)
18+
19+
This example demonstrates how to read the value of the VCNL4200 proximity sensor on the Curiosity Nano Explorer, with the Data Streamer Visualization Output selected. Every 100 ms, an LED and a Debug I/O pin are toggled every 100 ms and a Data Streamer frame is sent to the [MPLAB® Data Visualizer](https://www.microchip.com/en-us/tools-resources/debug/mplab-data-visualizer "MPLAB® Data Visualizer").
1820

19-
This example demonstrates how to read the value of the VCNL4200 proximity sensor on the Curiosity Nano Explorer, with the Data Streamer Visualization Output selected. Every 100 ms, an LED and a Debug I/O pin are toggled. A Timer overflow callback is used to send a Data Streamer frame every 100 ms.
2021

2122
## Operation
2223
In the MCC Melody Data Streamer library configuration, the appropriately typed variables are added to the Data Streamer table.
2324

2425
![alt text](images/avr128db48-i2c-proximity-sensor-callbacks-datastreamerTable_uartPins.png)
2526

2627
The below image of the MPLAB Data Visualizer shows the application running, where proximityValue and framecount have been added to the DVRT Streaming Table and Time Plot:
28+
2729
![alt text](images/avr128db48-i2c-proximity-sensor-polled-dvrt.png)
2830

2931
**Note:** An individual Data Streamer Frame is highlighted in red at the bottom of the image in the hex terminal output. The frame can be identified by the StartByte of 0x03 and the EndByte of 0xFC.
@@ -32,9 +34,9 @@ The below image of the MPLAB Data Visualizer shows the application running, wher
3234
## Setup
3335
The image below outlines the complete MPLAB Code Configurator (MCC) Melody configuration, including all the selected tasks implemented in this example, as seen in the [MCC Melody Builder](https://onlinedocs.microchip.com/v2/keyword-lookup?keyword=MCC.MELODY.BUILDER&version=latest&redirect=true "MCC Melody Builder").
3436

35-
![alt text](images\avr128db48-i2c-proximity-sensor-callbacks-dataStreamer_avrDB_configuration.png)
37+
![alt text](images/avr128db48-i2c-proximity-sensor-callbacks-dataStreamer_avrDB_configuration.png)
3638

37-
![alt text](images\avr128db48-i2c-proximity-sensor-callbacks-dataStreamer_avrDB_configuration_pins.png)
39+
![alt text](images/avr128db48-i2c-proximity-sensor-callbacks-dataStreamer_avrDB_configuration_pins.png)
3840

3941
## MCC Melody Example Components
4042
Example Components are a tight integration of learning material directly into MCC. This allows users to conveniently place the configuration instructions side-by-side to the components they are configuring. For more information, refer to the [MCC Melody Example Components](https://onlinedocs.microchip.com/v2/keyword-lookup?keyword=MCC.MELODY.EXAMPLES&version=latest&redirect=true) introduction.
@@ -68,3 +70,4 @@ Open the MCC Content Manager ![CM_icon](images/Icon-MPLAB-CM24.png) to verify th
6870
- AVR128DB48 Curiosity Nano [(EV35L43A)](https://www.microchip.com/en-us/development-tool/EV35L43A)
6971
- Curiosity Nano Explorer [(EV58G97A)](https://www.microchip.com/en-us/development-tool/EV58G97A)
7072

73+
gi

0 commit comments

Comments
 (0)