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
+5-8Lines changed: 5 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,17 +8,14 @@
8
8
</picture>
9
9
</a>
10
10
11
-
# PIC18F57Q43 I<sup>2</sup>C_Host Example Component for CNano Explorer: I<sup>2</sup>C Proximity Sensor (Polled, Printf-errors)
11
+
# PIC18F57Q43 I<sup>2</sup>C_Host Example Component for CNano Explorer: I<sup>2</sup>C Proximity Sensor (Polled, Printf-Errors)
12
12
13
-
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"
13
+
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 "I<sup>2</sup> Proximity Sensor example"
14
14
), 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"
15
-
), is used here in the Polled implementation, Printf with Error Checking Visualization Output selected.
15
+
), is used here in the Polled implementation Printf with Error Checking Visualization Output selected.
16
16
17
17
This example demonstrates how to read the value of the VCNL4200 proximity sensor on the Curiosity Nano Explore. Every 250 ms, an LED and a Debug I/O pin are toggled and a printf message is sent to the [MPLAB® Data Visualizer](https://www.microchip.com/en-us/tools-resources/debug/mplab-data-visualizer"MPLAB® Data Visualizer").
18
18
19
-
20
-
21
-
22
19
## Operation
23
20
24
21
The below image of the MPLAB Data Visualizer shows the application running, where the proximity value is displayed on the Data Visualizer terminal every 250 ms and a Debug I/O is toggled.
@@ -30,7 +27,7 @@ To run the example, follow the steps in the Data Visualizer Setup section of the
30
27
-[Data Visualizer Setup for Terminal](https://onlinedocs.microchip.com/v2/keyword-lookup?keyword=I2C.HOST.EX.DV.TERMINAL&version=latest&redirect=true)
31
28
32
29
## Setup
33
-
The following is a block diagram view of the application, 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"). On the right hand side, the completed TODO list of the I<sup>2</sup>C Host Example Component, represents the MCC Melody configuration of the application.
30
+
The following is a block diagram view of the application, as seen in the MPLAB Code Configurator (MCC) [MCC Melody Builder](https://onlinedocs.microchip.com/v2/keyword-lookup?keyword=MCC.MELODY.BUILDER&version=latest&redirect=true"MCC Melody Builder"). On the right hand side, the completed TODO list of the I<sup>2</sup>C Host Example Component represents the MCC Melody configuration of the application.
0 commit comments