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: bridge_4w_load_cell_config.c
- Revision:
- 45:f5f553b8c0d5
- Parent:
- 43:e1789b7214cf
- Child:
- 46:2c697a0cbbed
--- a/bridge_4w_load_cell_config.c Thu Jan 16 06:52:27 2020 +0000
+++ b/bridge_4w_load_cell_config.c Mon Jan 20 10:40:06 2020 +0000
@@ -50,6 +50,8 @@
.powerMode = ADMW1001_POWER_MODE_ACTIVE,
},
.measurement = {
+ .externalRefVoltage=0.0,
+ .AVDDVoltage=3.0,
.operatingMode = ADMW1001_OPERATING_MODE_CONTINUOUS,
.dataReadyMode = ADMW1001_DATAREADY_PER_CYCLE, // FIX: Temporarily all values from json are hardcoded to this one in the Contracts.FileGenerator - > file translations!!
.groundSwitch = ADMW1001_ADC_GND_SW_CLOSED,
@@ -59,14 +61,14 @@
.diagnostics = {
.disableGlobalDiag = true,
.disableMeasurementDiag = true,
- .osdFrequency = ADMW1001_OPEN_SENSOR_DIAGNOSTICS_DISABLED,
+ // .osdFrequency = ADMW1001_OPEN_SENSOR_DIAGNOSTICS_DISABLED,
},
.channels = {
[ADMW1001_CH_ID_ANLG_1_UNIVERSAL] = {
.enableChannel = true,
.disablePublishing = false,
.compensationChannel = ADMW1001_CH_ID_NONE,
- .lutSelect = ADMW1001_LUT_DEFAULT,
+ .lutSelect = ADMW1001_LUT_CUSTOM,
.measurementUnit = ADMW1001_MEASUREMENT_UNIT_UNSPECIFIED,
.lowThreshold = 0,
.highThreshold = 45359.2,
@@ -75,7 +77,7 @@
.sensorParameter = 0.0,
.measurementsPerCycle = 1,
.cycleSkipCount = 0,
- .extraSettlingTime = 4499.99986449257,
+ .extraSettlingTime = 5,
.priority = 0,
.adcChannelConfig = {
.sensor = ADMW1001_ADC_SENSOR_BRIDGE_4WIRE_1,
@@ -92,4 +94,4 @@
},
},
},
-};
+};
\ No newline at end of file