Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: mcp342x.cpp
- Revision:
- 3:03911aa07029
- Parent:
- 1:c4da9889ff85
--- a/mcp342x.cpp	Wed Jun 22 12:55:48 2016 +0000
+++ b/mcp342x.cpp	Tue Jul 18 09:43:27 2017 +0000
@@ -144,7 +144,7 @@
     // The digital output of the MCP342x is in two's complement format;
     // see datasheet Section 4.9. This 'if... else' construction
     // determines whether the digital code is negative or positive; if
-    // it is the former, it's two's complement is calculated.
+    // it is the former, its two's complement is calculated.
     if (adc_value > _max_code) {
         // if the output code is negative...
         volts = (~adc_value & _max_code) + 1;