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.
Revision 16:327cea5a86e9, committed 2019-07-26
- Comitter:
- Vkadaba
- Date:
- Fri Jul 26 11:30:25 2019 +0000
- Parent:
- 15:b5d57daeb7c0
- Child:
- 17:2f0028880874
- Commit message:
- Minor change in load_cell_config.c file
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| sensor2_bridge_4w_load_cell_config.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Jul 26 08:42:53 2019 +0000 +++ b/main.cpp Fri Jul 26 11:30:25 2019 +0000 @@ -91,9 +91,9 @@ extern ADMW_CONFIG multichannel_continuous_config; extern ADMW_CONFIG multichannel_multicycle_config; extern ADMW_CONFIG multichannel_singlecycle_config; - +extern ADMW_CONFIG sensor2_bridge_4w_load_cell_config; /* Change the following pointer to select any of the configurations above */ -static ADMW_CONFIG *pSelectedConfig = &sensor0_typeK_cjc0_config; +static ADMW_CONFIG *pSelectedConfig = &sensor2_bridge_4w_load_cell_config; static ADMW_CONNECTION connectionInfo = PLATFORM_CONNECTION_INFO;
--- a/sensor2_bridge_4w_load_cell_config.c Fri Jul 26 08:42:53 2019 +0000
+++ b/sensor2_bridge_4w_load_cell_config.c Fri Jul 26 11:30:25 2019 +0000
@@ -42,7 +42,7 @@
*/
#include "inc/admw_config_types.h"
-ADMW_CONFIG default_config= {
+ADMW_CONFIG sensor2_bridge_4w_load_cell_config= {
.versionId = { .major = 2, .minor = 0 },
.productId = ADMW_PRODUCT_ID_ADMW1001,
.admw1001 = {
@@ -53,6 +53,7 @@
.operatingMode = ADMW1001_OPERATING_MODE_SINGLECYCLE,
.dataReadyMode = ADMW1001_DATAREADY_PER_CYCLE,
.externalRef1Value = 1000.123,
+ .vBiasEnable = true,
},
.diagnostics = {
.disableGlobalDiag = true,
@@ -86,7 +87,6 @@
.reference = {
ADMW1001_ADC_REFERENCE_VOLTAGE_INTERNAL,
},
- .vBiasEnable = true,
},
},
},