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: DRIVERS/CHEM_BOX_COMMON.cpp
- Revision:
- 4:e3eda81c97ae
- Parent:
- 3:cb48919cd5e8
- Child:
- 5:b56a4592aac0
diff -r cb48919cd5e8 -r e3eda81c97ae DRIVERS/CHEM_BOX_COMMON.cpp
--- a/DRIVERS/CHEM_BOX_COMMON.cpp	Thu Aug 05 02:12:29 2021 +0000
+++ b/DRIVERS/CHEM_BOX_COMMON.cpp	Thu Aug 05 02:16:11 2021 +0000
@@ -364,7 +364,7 @@
     if(Channel > 1)
         Channel = 1;
 
-    return (((float)(ReadRawADC(Channel + 7)) /4095.0) * 5.0) / 82;
+    return (((float)(ReadRawADC(Channel + 7)) /4095.0) * 5.0) / 240;
     
 }
 
    