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.
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of workinQM_5thJan_azad by
Diff: ACS.cpp
- Revision:
- 68:abeaa67d84f5
- Parent:
- 63:55d32e7dcad7
--- a/ACS.cpp Thu Nov 24 09:45:08 2016 +0000 +++ b/ACS.cpp Mon Nov 28 07:19:19 2016 +0000 @@ -88,10 +88,10 @@ //change uint16_t ACS_MM_X_COMSN = 40; uint16_t ACS_MM_Y_COMSN = 50; -uint16_t ACS_MG_X_COMSN = 40; -uint16_t ACS_MG_Y_COMSN = 50; +uint16_t ACS_MG_X_COMSN = 4; +uint16_t ACS_MG_Y_COMSN = 5; uint16_t ACS_MM_Z_COMSN = 60; -uint16_t ACS_MG_Z_COMSN = 60; +uint16_t ACS_MG_Z_COMSN = 6; uint8_t float_to_uint8(float min,float max,float val) {