diff --git a/examples/simple/src/main.c b/examples/simple/src/main.c index 3065d79..154db92 100644 --- a/examples/simple/src/main.c +++ b/examples/simple/src/main.c @@ -16,8 +16,10 @@ int main(void) LOG_INF("No device found"); return 0; } - LOG_INF("Device not NULL"); + LOG_INF("Setting attributes"); + struct sensor_value conductivity; + sensor_attr_set(dev,SENSOR_CHAN_OEMEC_CONDUCTIVITY,SENSOR_ATTR_OEMEC_PROBE,&conductivity); while (true) { rc = sensor_sample_fetch(dev); if (rc != 0 ){