Skip to content

Commit 9748bee

Browse files
committed
MPAE-15455 improve the readme, fix Send_DataVisualizer_Data function and remove artifacts from main
1 parent c47f948 commit 9748bee

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

Q71_diff_reading.X/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
Main application
3737
*/
3838

39-
void Send_DataVisualizer_Data(char TxData);
39+
void Send_DataVisualizer_Data(uint16_t TxData);
4040

4141
int main(void)
4242
{
@@ -76,7 +76,7 @@ int main(void)
7676
}
7777
}
7878

79-
void Send_DataVisualizer_Data(char TxData)
79+
void Send_DataVisualizer_Data(uint16_t TxData)
8080
{
8181
while(!(UART2_IsTxReady()));
8282
UART2_Write(TxData);

Q71_diff_reading.X/nbproject/configurations.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@
7171
<targetDevice>PIC18F56Q71</targetDevice>
7272
<targetHeader></targetHeader>
7373
<targetPluginBoard></targetPluginBoard>
74-
<platformTool>noID</platformTool>
74+
<platformTool>nEdbgTool</platformTool>
7575
<languageToolchain>XC8</languageToolchain>
7676
<languageToolchainVersion>2.40</languageToolchainVersion>
7777
<platform>3</platform>
7878
</toolsSet>
7979
<packs>
80-
<pack name="PIC18F-Q_DFP" vendor="Microchip" version="1.14.237"/>
80+
<pack name="PIC18F-Q_DFP" vendor="Microchip" version="1.15.360"/>
8181
</packs>
8282
<ScriptingSettings>
8383
</ScriptingSettings>

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This code example demonstrates how to perform a differential coversion using the
66

77
## Related Documentation
88

9-
More details and code examples on the AVR64DD32 can be found at the following links:
9+
More details and code examples on the PIC18F56Q71 can be found at the following links:
1010

1111
- [PIC18F56Q71 Product Page](https://www.microchip.com/en-us/product/PIC18F56Q71)
1212
- [PIC18F56Q71 Code Examples on GitHub](https://github.com/orgs/microchip-pic-avr-examples/repositories?q=pic18f56q71&type=all&language=&sort=)
@@ -16,7 +16,7 @@ More details and code examples on the AVR64DD32 can be found at the following li
1616
- [MPLAB® X IDE](http://www.microchip.com/mplab/mplab-x-ide) v6.05 or newer
1717
- [MPLAB® X IPE](https://www.microchip.com/en-us/tools-resources/production/mplab-integrated-programming-environment) v6.05 or newer
1818
- [MPLAB® XC8](http://www.microchip.com/mplab/compilers) v2.40 or newer
19-
- [PIC18F-Q Series Device Pack](https://packs.download.microchip.com/) v1.15.243 or newer
19+
- [PIC18F-Q Series Device Pack](https://packs.download.microchip.com/) v1.15.360 or newer
2020

2121
## Hardware Used
2222

@@ -70,6 +70,10 @@ The following configurations must be made for this project:
7070

7171
## Demo
7272

73+
In this example, the ADC reads data from the two potentiometers and displays the result on the serial terminal.
74+
75+
<br><img src="images/potentiometer_cnano.png" width="300">
76+
7377
To visualize the ADCC with Content Switching readings in a graphical format use the Data Visualizer time plot.
7478

7579
Follow the procedure below to open the Graph/Time plot in Data Visualizer:

images/potentiometer_cnano.png

294 KB
Loading

0 commit comments

Comments
 (0)